aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authorkenta-s <knt01222@gmail.com>2017-01-19 08:28:00 +0900
committerkenta-s <knt01222@gmail.com>2017-01-19 08:28:10 +0900
commitc406cf2e3dcbf2e8f74fe7aaf668e3e6f322c7ed (patch)
treee6f3bdb88bd4b18c5279e551f10e1fe1e464ddd3 /actionview
parentf2c29ec27b058e115e969833d8ddb9bebc2ac901 (diff)
downloadrails-c406cf2e3dcbf2e8f74fe7aaf668e3e6f322c7ed.tar.gz
rails-c406cf2e3dcbf2e8f74fe7aaf668e3e6f322c7ed.tar.bz2
rails-c406cf2e3dcbf2e8f74fe7aaf668e3e6f322c7ed.zip
`find_templates` should be able to handle 5 arguments
Diffstat (limited to 'actionview')
-rw-r--r--actionview/lib/action_view/template/resolver.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionview/lib/action_view/template/resolver.rb b/actionview/lib/action_view/template/resolver.rb
index 9da13663d7..924de3da06 100644
--- a/actionview/lib/action_view/template/resolver.rb
+++ b/actionview/lib/action_view/template/resolver.rb
@@ -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.