diff options
author | HombreLaser <sebastian-440@live.com> | 2023-03-11 12:10:57 -0600 |
---|---|---|
committer | HombreLaser <sebastian-440@live.com> | 2023-03-11 12:10:57 -0600 |
commit | 3dae1ce143d006cc75940b746a8eb74982e6e861 (patch) | |
tree | 5bfa59dfd11bbfc9b8ef2a38da067e0c2ca0da42 /app/controllers/api | |
parent | 6b3cc5c3a33643c0e42396142a2d3204ada2bb82 (diff) |
Añade test de scoping
Diffstat (limited to 'app/controllers/api')
-rw-r--r-- | app/controllers/api/companies_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/companies_controller.rb b/app/controllers/api/companies_controller.rb index 9d6cb1c..21744de 100644 --- a/app/controllers/api/companies_controller.rb +++ b/app/controllers/api/companies_controller.rb @@ -4,7 +4,7 @@ module Api # CompaniesController class CompaniesController < MasterController skip_before_action :validate_jwt, only: %i[show index] - skip_before_action :assert_master_role, onlt: %i[show index] + skip_before_action :assert_master_role, only: %i[show index] def index @companies = Company.all |