aboutsummaryrefslogtreecommitdiffstats
path: root/railties/helpers/application_controller.rb
blob: ef33aa835300fe40cdd10a7d8d7e4576df9f9bfe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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
  protect_from_forgery
  
  # 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