summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2023-02-25 00:21:44 -0600
committerHombreLaser <sebastian-440@live.com>2023-02-25 00:21:44 -0600
commit64171389726e6fde709f3f567eb27c5c94496b81 (patch)
treec38b6ea7fb4cb5c81262eedfaaec988a9efb1133 /app/controllers
parent6b49fe21f76883e039a2c149ecd5906c9d038de3 (diff)
Remueve memoizaciĆ³n innecesaria
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/application_controller.rb2
1 files changed, 1 insertions, 1 deletions
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