Sha256: 152345591f07681a4232f4804ca4bbb80f2bdda9cdb9ccbe29c08944d13535cb

Contents?: true

Size: 317 Bytes

Versions: 6

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_action :verify_authenticity_token
  
  def current_user
    @current_user = User.first
  end
  
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
bootstrap_feedbacker-0.4.2 test/dummy/app/controllers/application_controller.rb
bootstrap_feedbacker-0.4.1 test/dummy/app/controllers/application_controller.rb
bootstrap_feedbacker-0.4.0 test/dummy/app/controllers/application_controller.rb
bootstrap_feedbacker-0.3.5 test/dummy/app/controllers/application_controller.rb
bootstrap_feedbacker-0.3.4 test/dummy/app/controllers/application_controller.rb
bootstrap_feedbacker-0.3.3 test/dummy/app/controllers/application_controller.rb