about summary refs log tree commit diff
path: root/app/controllers/api
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2020-03-08 21:04:30 -0500
committermultiple creatures <dev@multiple-creature.party>2020-03-08 21:04:30 -0500
commitf28c44894d74e1a3643226d6590944c4a9199096 (patch)
tree99a7a6b1ad1f367bb9bd32fc8c710b085dacac66 /app/controllers/api
parenta091c324a3bb6e2103231b66a71e4de5d872e08a (diff)
exclude the werewolf api from secure mode
Diffstat (limited to 'app/controllers/api')
-rw-r--r--app/controllers/api/v1/werewolf_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/api/v1/werewolf_controller.rb b/app/controllers/api/v1/werewolf_controller.rb
index 74428a290..3e240adf5 100644
--- a/app/controllers/api/v1/werewolf_controller.rb
+++ b/app/controllers/api/v1/werewolf_controller.rb
@@ -3,6 +3,7 @@
 class Api::V1::WerewolfController < Api::BaseController
   respond_to :json
   skip_before_action :set_cache_headers
+  skip_before_action :require_authenticated_user!
 
   def index
     render json: werewolf_info