Mercurial > rsstweet
comparison 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 |
comparison
equal
deleted
inserted
replaced
10:0ea4ac5b96ac | 11:082e96417e86 |
---|---|
1 class ApplicationController < ActionController::Base | 1 class ApplicationController < ActionController::Base |
2 # Prevent CSRF attacks by raising an exception. | |
3 # For APIs, you may want to use :null_session instead. | |
4 protect_from_forgery with: :exception | |
5 end | 2 end |