mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
4af5dbbfcc
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7704 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
10 lines
No EOL
451 B
Ruby
10 lines
No EOL
451 B
Ruby
# Filters added to this controller apply to all controllers in the application.
|
|
# Likewise, all the methods added will be available for all controllers.
|
|
|
|
class ApplicationController < ActionController::Base
|
|
helper :all # include all helpers, all the time
|
|
|
|
# See ActionController::RequestForgeryProtection for details
|
|
# Uncomment the :secret if you're not using the cookie session store
|
|
protect_from_forgery # :secret => '<%= app_secret %>'
|
|
end |