diff app/controllers/application_controller.rb @ 11:082e96417e86

This is a read-only site.
author edogawaconan <me@myconan.net>
date Fri, 05 Sep 2014 18:50:24 +0900
parents a1c9fadc0904
children
line wrap: on
line diff
--- 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