view app/controllers/application_controller.rb @ 7:a9d5b12a291f

And no layout~
author edogawaconan <me@myconan.net>
date Fri, 05 Sep 2014 18:30:50 +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