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