Merge pull request #17512 from JackDanger/danger/use-default-view-pattern-in-docs

[docs] Using the real resolver pattern in docs
This commit is contained in:
Zachary Scott 2015-04-10 17:03:48 -07:00
commit 77a7c4bf7d

@ -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