Method: MarbleGate.access
- Defined in:
- lib/marble_gate/access.rb
.access(context, action, *args) ⇒ Object
6 7 8 |
# File 'lib/marble_gate/access.rb', line 6 def self.access(context, action, *args) Access.new(context, (action == 'new') ? 'action_new' : action, *args) end |