From 64171389726e6fde709f3f567eb27c5c94496b81 Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Sat, 25 Feb 2023 00:21:44 -0600 Subject: Remueve memoizaciĆ³n innecesaria MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/application_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/application_controller.rb') diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 49609c0..857414a 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -3,6 +3,6 @@ # The father class of all controllers. class ApplicationController < ActionController::API def logic(permitted_params) - @logic ||= Object.const_get("#{self.class}::#{action_name.camelize}Logic").new(permitted_params) + @logic = Object.const_get("#{self.class}::#{action_name.camelize}Logic").new(permitted_params) end end -- cgit v1.2.3