Class: Netzke::Base
- Inherits:
-
Object
- Object
- Netzke::Base
- Includes:
- CanCan::ControllerAdditions
- Defined in:
- lib/netzke/cancan.rb
Class Method Summary collapse
-
.helper_method(*args) ⇒ Object
cancan calls helper_method, which is present in any controller, but not in a netzke component.
Instance Method Summary collapse
-
#current_ability ⇒ Ability
This method returns the current ability with the current user from the controller.
Class Method Details
.helper_method(*args) ⇒ Object
cancan calls helper_method, which is present in any controller, but not in a netzke component
16 17 18 |
# File 'lib/netzke/cancan.rb', line 16 def self.helper_method(*args) # We don't do anything since there is no view layer in netzke components end |