From 2dd455d48954d087fc1fa7b2944e87bdaf7c1bab Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Tue, 14 Mar 2023 20:22:52 -0600 Subject: Mueve skip before action a MasterController --- app/controllers/master_controller.rb | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3