Class: Samurai::ApplicationController

Inherits:
ActionController::Base
  • Object
show all
Defined in:
app/controllers/samurai/application_controller.rb

Instance Method Summary collapse

Instance Method Details

#current_abilityObject



9
10
11
# File 'app/controllers/samurai/application_controller.rb', line 9

def current_ability
  @current_ability ||= Samurai::Ability.new(current_user)
end