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
|
# This is what child classes implement. No defaults are needed
|
||||||
# because Resolver guarantees that the arguments are present and
|
# because Resolver guarantees that the arguments are present and
|
||||||
# normalized.
|
# normalized.
|
||||||
def find_templates(name, prefix, partial, details)
|
def find_templates(name, prefix, partial, details, outside_app_allowed = false)
|
||||||
raise NotImplementedError, "Subclasses must implement a find_templates(name, prefix, partial, details) method"
|
raise NotImplementedError, "Subclasses must implement a find_templates(name, prefix, partial, details, outside_app_allowed = false) method"
|
||||||
end
|
end
|
||||||
|
|
||||||
# Helpers that builds a path. Useful for building virtual paths.
|
# Helpers that builds a path. Useful for building virtual paths.
|
||||||
|
|
Loading…
Reference in a new issue