Sha256: 468adc1e92c1affb88ccef9a6cece368a84e74405d3a3c4f0a10682a57c10bce

Contents?: true

Size: 280 Bytes

Versions: 8

Compression:

Stored size: 280 Bytes

Contents

class ApplicationController < ActionController::Base
  include Authenticate::Controller
  before_action :require_authentication

  # 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

8 entries across 8 versions & 1 rubygems

Version Path
authenticate-0.6.1 spec/dummy/app/controllers/application_controller.rb
authenticate-0.6.0 spec/dummy/app/controllers/application_controller.rb
authenticate-0.5.0 spec/dummy/app/controllers/application_controller.rb
authenticate-0.4.0 spec/dummy/app/controllers/application_controller.rb
authenticate-0.3.3 spec/dummy/app/controllers/application_controller.rb
authenticate-0.3.2 spec/dummy/app/controllers/application_controller.rb
authenticate-0.3.1 spec/dummy/app/controllers/application_controller.rb
authenticate-0.3.0 spec/dummy/app/controllers/application_controller.rb