view app/controllers/application_controller.rb @ 8:86abbc9ce81b

Add static controller.
author edogawaconan <me@myconan.net>
date Fri, 05 Sep 2014 18:33:22 +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