Class: Activa::ApplicationController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/activa/application_controller.rb

Direct Known Subclasses

PagesController

Instance Method Summary collapse

Instance Method Details

#current_abilityObject



10
11
12
# File 'app/controllers/activa/application_controller.rb', line 10

def current_ability
  Activa::Ability.new(activa_user)
end