Class: Wobauth::ApplicationController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- Wobauth::ApplicationController
- Includes:
- Wobapphelpers::Breadcrumbs
- Defined in:
- app/controllers/wobauth/application_controller.rb
Direct Known Subclasses
AdUsersController, AuthoritiesController, GroupsController, LoginController, MembershipsController, RolesController, UsersController
Instance Method Summary collapse
-
#current_ability ⇒ Object
– cancan ability for wobauth.
Instance Method Details
#current_ability ⇒ Object
– cancan ability for wobauth
21 22 23 |
# File 'app/controllers/wobauth/application_controller.rb', line 21 def current_ability @current_ability ||= Wobauth::AdminAbility.new(current_user) end |