Class: AdminConstraint
- Inherits:
-
Object
- Object
- AdminConstraint
- Defined in:
- app/helpers/admin_constraint.rb
Instance Method Summary collapse
Instance Method Details
#matches?(_request) ⇒ Boolean
4 5 6 7 |
# File 'app/helpers/admin_constraint.rb', line 4 def matches?(_request) true # request.env["warden"].user == nil end |