Module: WizAcl::Action::InstanceMethods
- Defined in:
- lib/wizdog/acl/ext/action.rb
Instance Method Summary collapse
- #aco_id ⇒ Object
- #allow(aros = "*", actions = "*") ⇒ Object
- #allowed? ⇒ Boolean
- #deny(aros = "*", actions = "*") ⇒ Object
Instance Method Details
#aco_id ⇒ Object
29 30 31 |
# File 'lib/wizdog/acl/ext/action.rb', line 29 def aco_id self.class.controller_name end |
#allow(aros = "*", actions = "*") ⇒ Object
33 34 35 |
# File 'lib/wizdog/acl/ext/action.rb', line 33 def allow(aros = "*", actions = "*") Acl.instance.allow(aros, self, actions) end |