Class: Msip::ApplicationController

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

Instance Method Summary collapse

Instance Method Details

#current_abilityObject

AplicaciĆ³n final debe hacer algo como: protect_from_forgery with: :exception



19
20
21
# File 'app/controllers/msip/application_controller.rb', line 19

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