Skip to content
This repository was archived by the owner on Mar 23, 2023. It is now read-only.

Commit b183a16

Browse files
Add clarifying usage comment
1 parent c44e3ed commit b183a16

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/admin_constraint.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Needed and used to access sidekiq
12
class AdminConstraint
23
def matches?(request)
34
user = request.env['warden'].user(:user)

0 commit comments

Comments
 (0)