aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authorZachary Scott <e@zzak.io>2015-04-10 17:03:48 -0700
committerZachary Scott <e@zzak.io>2015-04-10 17:03:48 -0700
commit77a7c4bf7d2ed73cbc2554ef9f0514f6191b2658 (patch)
treed4914a9b2cf007fa4b45cf2ff25fe5f8e3f6f991 /actionview
parentb0b8a6b0e4af31b2d89ab841757313079e2b7f41 (diff)
parentd692b829b53491e1145502311f4390daffb60686 (diff)
downloadrails-77a7c4bf7d2ed73cbc2554ef9f0514f6191b2658.tar.gz
rails-77a7c4bf7d2ed73cbc2554ef9f0514f6191b2658.tar.bz2
rails-77a7c4bf7d2ed73cbc2554ef9f0514f6191b2658.zip
Merge pull request #17512 from JackDanger/danger/use-default-view-pattern-in-docs
[docs] Using the real resolver pattern in docs
Diffstat (limited to 'actionview')
-rw-r--r--actionview/lib/action_view/template/resolver.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/template/resolver.rb b/actionview/lib/action_view/template/resolver.rb
index bc0db330ea..955118a554 100644
--- a/actionview/lib/action_view/template/resolver.rb
+++ b/actionview/lib/action_view/template/resolver.rb
@@ -270,7 +270,7 @@ module ActionView
#
# ActionController::Base.view_paths = FileSystemResolver.new(
# Rails.root.join("app/views"),
- # ":prefix{/:locale}/:action{.:formats,}{+:variants,}{.:handlers,}"
+ # ":prefix/:action{.:locale,}{.:formats,}{+:variants,}{.:handlers,}",
# )
#
# ==== Pattern format and variables