mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #27733 from kenta-s/add-missing-argument-to-find_templates
`find_templates` should be able to handle 5 arguments
This commit is contained in:
commit
c64ee8ed53
1 changed files with 2 additions and 2 deletions
|
@ -164,8 +164,8 @@ module ActionView
|
|||
# This is what child classes implement. No defaults are needed
|
||||
# because Resolver guarantees that the arguments are present and
|
||||
# normalized.
|
||||
def find_templates(name, prefix, partial, details)
|
||||
raise NotImplementedError, "Subclasses must implement a find_templates(name, prefix, partial, details) method"
|
||||
def find_templates(name, prefix, partial, details, outside_app_allowed = false)
|
||||
raise NotImplementedError, "Subclasses must implement a find_templates(name, prefix, partial, details, outside_app_allowed = false) method"
|
||||
end
|
||||
|
||||
# Helpers that builds a path. Useful for building virtual paths.
|
||||
|
|
Loading…
Reference in a new issue