diff options
author | HombreLaser <sebastian-440@live.com> | 2023-03-14 20:22:52 -0600 |
---|---|---|
committer | HombreLaser <sebastian-440@live.com> | 2023-03-14 20:22:52 -0600 |
commit | 2dd455d48954d087fc1fa7b2944e87bdaf7c1bab (patch) | |
tree | eeb8de78bfa0083f3701a6aa7e4b772a376ca57b /app | |
parent | 3751f73edf3c3ba32f7fdb2b3f81b51a0033eefd (diff) |
Mueve skip before action a MasterController
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/master_controller.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/master_controller.rb b/app/controllers/master_controller.rb index 38cd441..a005084 100644 --- a/app/controllers/master_controller.rb +++ b/app/controllers/master_controller.rb @@ -3,6 +3,8 @@ # The father class of all controllers that require the master role to fulfill requests. class MasterController < AuthenticatedController before_action :assert_master_role + skip_before_action :validate_jwt, only: %i[show index] + skip_before_action :assert_master_role, only: %i[show index] private |