Class: MongoidForums::ApplicationController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/mongoid_forums/application_controller.rb

Instance Method Summary collapse

Instance Method Details

#current_abilityObject


10
11
12
# File 'app/controllers/mongoid_forums/application_controller.rb', line 10

def current_ability
  MongoidForums::Ability.new(mongoid_forums_user)
end