From 887a982ecf497bc2f3180be744bbf3d75e3d887e Mon Sep 17 00:00:00 2001 From: Abhay Nikam Date: Wed, 13 Feb 2019 22:27:02 +0530 Subject: Clean for fix done in #35229. Removed unused arguments --- actionview/lib/action_view/base.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actionview/lib') 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 -- cgit v1.2.3