Class: MongoidForums::ApplicationController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- MongoidForums::ApplicationController
- Defined in:
- app/controllers/mongoid_forums/application_controller.rb
Direct Known Subclasses
Admin::BaseController, ForumsController, PostsController, RedirectController, TopicsController
Instance Method Summary collapse
Instance Method Details
#current_ability ⇒ Object
10 11 12 |
# File 'app/controllers/mongoid_forums/application_controller.rb', line 10 def current_ability MongoidForums::Ability.new(mongoid_forums_user) end |