Sha256: 8872fe136a0b4197e1bfa5f58943d70306203a5feed290a519f114191883a393

Contents?: true

Size: 240 Bytes

Versions: 4

Compression:

Stored size: 240 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
  before_action :authenticate_user!
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
carnival-0.1.3 test/carnival-sample-application/app/controllers/application_controller.rb
carnival-0.1.2 test/carnival-sample-application/app/controllers/application_controller.rb
carnival-0.1.1 test/carnival-sample-application/app/controllers/application_controller.rb
carnival-0.1.0 test/carnival-sample-application/app/controllers/application_controller.rb