From 3751f73edf3c3ba32f7fdb2b3f81b51a0033eefd Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Tue, 14 Mar 2023 20:22:31 -0600 Subject: Mueve skip_before_action a clase padre --- app/controllers/api/companies_controller.rb | 3 --- 1 file changed, 3 deletions(-) (limited to 'app/controllers/api/companies_controller.rb') diff --git a/app/controllers/api/companies_controller.rb b/app/controllers/api/companies_controller.rb index fd72a8a..63d30c8 100644 --- a/app/controllers/api/companies_controller.rb +++ b/app/controllers/api/companies_controller.rb @@ -3,9 +3,6 @@ module Api # CompaniesController class CompaniesController < MasterController - skip_before_action :validate_jwt, only: %i[show index] - skip_before_action :assert_master_role, only: %i[show index] - def index @companies = Company.page(params[:page]) -- cgit v1.2.3