Sha256: cbfc85a8fdb3b70b31f261dfb8c9e653dd915a79287f421407f97fdcbfe9669b

Contents?: true

Size: 292 Bytes

Versions: 18

Compression:

Stored size: 292 Bytes

Contents

class ApplicationController < ActionController::Base

  def mongoid_forums_user
    current_user
  end
  helper_method :mongoid_forums_user

  # Prevent CSRF attacks by raising an exception.
  # For APIs, you may want to use :null_session instead.
  protect_from_forgery with: :exception
end

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
mongoid-forums-1.0.7 test/dummy/app/controllers/application_controller.rb
mongoid-forums-1.0.6 test/dummy/app/controllers/application_controller.rb
ack-mongoid-forums-1.0.6.1 test/dummy/app/controllers/application_controller.rb
ack-mongoid-forums-1.0.6 test/dummy/app/controllers/application_controller.rb
ack-mongoid-forums-1.0.5 test/dummy/app/controllers/application_controller.rb
mongoid-forums-1.0.4 test/dummy/app/controllers/application_controller.rb
mongoid-forums-1.0.3 test/dummy/app/controllers/application_controller.rb
mongoid-forums-1.0.2 test/dummy/app/controllers/application_controller.rb
mongoid-forums-1.0.1 test/dummy/app/controllers/application_controller.rb
mongoid-forums-1.0.0 test/dummy/app/controllers/application_controller.rb
mongoid-forums-0.0.11 test/dummy/app/controllers/application_controller.rb
mongoid-forums-0.0.10 test/dummy/app/controllers/application_controller.rb
mongoid-forums-0.0.9 test/dummy/app/controllers/application_controller.rb
mongoid-forums-0.0.5 test/dummy/app/controllers/application_controller.rb
mongoid-forums-0.0.4 test/dummy/app/controllers/application_controller.rb
mongoid-forums-0.0.3 test/dummy/app/controllers/application_controller.rb
mongoid-forums-0.0.2 test/dummy/app/controllers/application_controller.rb
mongoid-forums-0.0.1 test/dummy/app/controllers/application_controller.rb