Skip to content

Commit

Permalink
temporarily open sidekiq dash
Browse files Browse the repository at this point in the history
  • Loading branch information
EdmundLeex committed Jul 24, 2016
1 parent 4304f6c commit 8d0e891
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/admin_constraint.rb
@@ -1,5 +1,6 @@
class AdminConstraint
def matches?(request)
return true
session_token = request.path_parameters[:token]
return false unless session_token
user = User.find_by(session_token: session_token)
Expand Down

0 comments on commit 8d0e891

Please sign in to comment.