spec/rails_app/app/controllers/application_controller.rb in netzke-testing-0.9.1 vs spec/rails_app/app/controllers/application_controller.rb in netzke-testing-0.10.0.rc1
- old
+ new
@@ -1,5 +1,3 @@
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
+ protect_from_forgery
end