Sha256: 036c55698a04cca6f0f9430f218ba4afaa8a77cb44a0ed594002115465e30f61

Contents?: true

Size: 235 Bytes

Versions: 13

Compression:

Stored size: 235 Bytes

Contents

module Capcoauth
  class ApplicationController < ActionController::Base
    include Helpers::Controller

    if ::Rails.version.to_i < 4
      protect_from_forgery
    else
      protect_from_forgery with: :exception
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
capcoauth-0.4.0 app/controllers/capcoauth/application_controller.rb
capcoauth-0.3.3 app/controllers/capcoauth/application_controller.rb
capcoauth-0.3.2 app/controllers/capcoauth/application_controller.rb
capcoauth-0.3.1 app/controllers/capcoauth/application_controller.rb
capcoauth-0.3.0 app/controllers/capcoauth/application_controller.rb
capcoauth-0.2.3 app/controllers/capcoauth/application_controller.rb
capcoauth-0.2.2 app/controllers/capcoauth/application_controller.rb
capcoauth-0.2.1 app/controllers/capcoauth/application_controller.rb
capcoauth-0.2.0 app/controllers/capcoauth/application_controller.rb
capcoauth-0.1.4 app/controllers/capcoauth/application_controller.rb
capcoauth-0.1.3 app/controllers/capcoauth/application_controller.rb
capcoauth-0.1.2 app/controllers/capcoauth/application_controller.rb
capcoauth-0.1.1 app/controllers/capcoauth/application_controller.rb