diff options
-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 |