Skip to content

Commit

Permalink
Merge pull request #17512 from JackDanger/danger/use-default-view-pat…
Browse files Browse the repository at this point in the history
…tern-in-docs

[docs] Using the real resolver pattern in docs
  • Loading branch information
Zachary Scott committed Apr 11, 2015
2 parents b0b8a6b + d692b82 commit 77a7c4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionview/lib/action_view/template/resolver.rb
Expand Up @@ -270,7 +270,7 @@ def extract_handler_and_format_and_variant(path, default_formats)
#
# 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
Expand Down

0 comments on commit 77a7c4b

Please sign in to comment.