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:
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
|
||||
|
Loading…
Reference in New Issue
Block a user