summaryrefslogtreecommitdiff
path: root/app/controllers/api/companies_controller.rb
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2023-03-14 20:22:31 -0600
committerHombreLaser <sebastian-440@live.com>2023-03-14 20:22:31 -0600
commit3751f73edf3c3ba32f7fdb2b3f81b51a0033eefd (patch)
treeb895cac8b719fc0c92031333567c8b204411a4fe /app/controllers/api/companies_controller.rb
parentf1a92818bb0fc65c57c5dc30f06f4870c185ebaa (diff)
Mueve skip_before_action a clase padre
Diffstat (limited to 'app/controllers/api/companies_controller.rb')
-rw-r--r--app/controllers/api/companies_controller.rb3
1 files changed, 0 insertions, 3 deletions
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])