Class: Ems::ApplicationController

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

Instance Method Summary collapse

Instance Method Details

#current_abilityObject

We need to make sure that we are using the ems abilities in the EMS



14
15
16
# File 'app/controllers/ems/application_controller.rb', line 14

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