view app/controllers/application_controller.rb @ 4:399d36c079c4

Turns out it's :disabled to disable session.
author edogawaconan <me@myconan.net>
date Fri, 05 Sep 2014 18:26:23 +0900
parents a1c9fadc0904
children 082e96417e86
line wrap: on
line source

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
end