summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2023-03-14 20:22:52 -0600
committerHombreLaser <sebastian-440@live.com>2023-03-14 20:22:52 -0600
commit2dd455d48954d087fc1fa7b2944e87bdaf7c1bab (patch)
treeeeb8de78bfa0083f3701a6aa7e4b772a376ca57b /app/controllers
parent3751f73edf3c3ba32f7fdb2b3f81b51a0033eefd (diff)
Mueve skip before action a MasterController
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/master_controller.rb2
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