Module: Access::Admin
- Defined in:
- lib/access/admin.rb
Overview
Extend Admin users with this plugin, speeds up privileged? by statically returning true and not performing any lookup.
Instance Method Summary collapse
-
#privileged?(*args) ⇒ Boolean
admins have all privileges.
Instance Method Details
#privileged?(*args) ⇒ Boolean
admins have all privileges
15 16 17 |
# File 'lib/access/admin.rb', line 15 def privileged?(*args) true end |