module-and-template-store/app/controllers/application_controller.rb

6 lines
207 B
Ruby
Raw Permalink Normal View History

2013-12-25 10:39:05 +00:00
class ApplicationController < ActionController::Base
# Prevent CSRF attacks by raising an exception.
# For APIs, you may want to use :null_session instead.
2014-02-13 06:51:23 +00:00
protect_from_forgery with: :null_session
2013-12-25 10:39:05 +00:00
end