annotate app/controllers/application_controller.rb @ 6:82cb8887fb56

Hahaha, no assets.
author edogawaconan <me@myconan.net>
date Fri, 05 Sep 2014 18:30:35 +0900
parents a1c9fadc0904
children 082e96417e86
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
1 class ApplicationController < ActionController::Base
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
2 # Prevent CSRF attacks by raising an exception.
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
3 # For APIs, you may want to use :null_session instead.
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
4 protect_from_forgery with: :exception
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
5 end