Skip to content

Instantly share code, notes, and snippets.

@csaura
Created July 31, 2009 15:58
Show Gist options
  • Save csaura/159287 to your computer and use it in GitHub Desktop.
Save csaura/159287 to your computer and use it in GitHub Desktop.
# 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
protect_from_forgery # See ActionController::RequestForgeryProtection for details
# Scrub sensitive parameters from your log
# filter_parameter_logging :password
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment