# HG changeset patch # User edogawaconan # Date 1409910624 -32400 # Node ID 082e96417e86bc6fbbe7fd05b090e5004d048040 # Parent 0ea4ac5b96ac4bb1595ee2cc88a86d32930a7f00 This is a read-only site. diff -r 0ea4ac5b96ac -r 082e96417e86 app/controllers/application_controller.rb --- a/app/controllers/application_controller.rb Fri Sep 05 18:45:28 2014 +0900 +++ b/app/controllers/application_controller.rb Fri Sep 05 18:50:24 2014 +0900 @@ -1,5 +1,2 @@ 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