Skip to content

Commit

Permalink
ensure user is authenticated (but don't check tournament) before send…
Browse files Browse the repository at this point in the history
…ing the admin next client
  • Loading branch information
kevinhughes27 committed Jun 22, 2018
1 parent 237b6a1 commit 7325e94
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/controllers/admin_next_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@ class AdminNextController < ApplicationController
include TournamentController
include ReactAppController

before_action :authenticate_user!

app_name 'admin_next'
end

0 comments on commit 7325e94

Please sign in to comment.