aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authorAbhay Nikam <nikam.abhay1@gmail.com>2019-02-13 22:27:02 +0530
committerAbhay Nikam <nikam.abhay1@gmail.com>2019-02-13 22:27:02 +0530
commit887a982ecf497bc2f3180be744bbf3d75e3d887e (patch)
tree95996371b0bfacff42a91ba0ad4f1d0a59122b57 /actionview
parentf22c6bbfe5f9bc308216c0e15a4986ae228d6ccf (diff)
downloadrails-887a982ecf497bc2f3180be744bbf3d75e3d887e.tar.gz
rails-887a982ecf497bc2f3180be744bbf3d75e3d887e.tar.bz2
rails-887a982ecf497bc2f3180be744bbf3d75e3d887e.zip
Clean for fix done in #35229. Removed unused arguments
Diffstat (limited to 'actionview')
-rw-r--r--actionview/lib/action_view/base.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionview/lib/action_view/base.rb b/actionview/lib/action_view/base.rb
index 37ecd84792..fef4b4bbb0 100644
--- a/actionview/lib/action_view/base.rb
+++ b/actionview/lib/action_view/base.rb
@@ -207,7 +207,7 @@ module ActionView #:nodoc:
# :stopdoc:
- def self.build_lookup_context(context, controller, formats)
+ def self.build_lookup_context(context)
case context
when ActionView::Renderer
context.lookup_context
@@ -255,7 +255,7 @@ module ActionView #:nodoc:
ActionView::Base instances should be constructed with a lookup context,
assigments, and a controller.
eowarn
- @lookup_context = self.class.build_lookup_context(lookup_context, controller, formats)
+ @lookup_context = self.class.build_lookup_context(lookup_context)
end
@view_renderer = ActionView::Renderer.new @lookup_context