Created
December 26, 2008 13:16
-
-
Save briandemant/40064 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 => '7062f5deb1b5157b7df647c519a0de7f' | |
# See ActionController::Base for details | |
# Uncomment this to filter the contents of submitted sensitive data parameters | |
# from your application log (in this case, all fields with names like "password"). | |
# filter_parameter_logging :password | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment