mirror of https://github.com/rails/rails
Add outside_app_allowed arg to find_templates
A backport of #23247 to 4-1-stable.
This commit is contained in:
parent
1db1f82670
commit
fb7b36e655
|
@ -129,8 +129,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) method"
|
||||
end
|
||||
|
||||
# Helpers that builds a path. Useful for building virtual paths.
|
||||
|
|
Loading…
Reference in New Issue