Class: Ems::ApplicationController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- Ems::ApplicationController
- Defined in:
- app/controllers/ems/application_controller.rb
Direct Known Subclasses
ArticlesController, CategoriesController, ChannelsController, EmsController, NewsController, ReportsController, TagsController
Instance Method Summary collapse
-
#current_ability ⇒ Object
We need to make sure that we are using the ems abilities in the EMS.
Instance Method Details
#current_ability ⇒ Object
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 |