Sha256: 1611e01efde352712ebb26835213986e608b6dff06b0eeb08f63e957fdfc57c7
Contents?: true
Size: 317 Bytes
Versions: 1
Compression:
Stored size: 317 Bytes
Contents
class ApplicationController < ActionController::Base # Prevent CSRF attacks by raising an exception. # For APIs, you may want to use :null_session instead. protect_from_forgery with: :exception skip_before_filter :verify_authenticity_token def current_user @current_user = User.first end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bootstrap_feedbacker-0.3.0 | test/dummy/app/controllers/application_controller.rb |