From 7265af094ed16c36632128bccdcf84a3796c2359 Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Sat, 25 Mar 2023 00:10:33 -0600 Subject: AƱade specs de addresscontroller MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/application_controller.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app/controllers/application_controller.rb') diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 4fc614c..8737c85 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -6,9 +6,9 @@ class ApplicationController < ActionController::API ActiveStorage::Current.url_options = { protocol: request.protocol, host: request.host, port: request.port } end - def logic(permitted_params) - @logic = Object.const_get("#{self.class}::#{action_name.camelize}Logic").new(permitted_params) - end + # def logic(permitted_params) + # @logic = Object.const_get("#{self.class}::#{action_name.camelize}Logic").new(permitted_params) + # end private -- cgit v1.2.3