source: ruby/trunk/app/controllers/application_controller.rb@ 373

Last change on this file since 373 was 373, checked in by KOBAYASHI, Shinji, 14 years ago

refs #72

File size: 720 bytes
Line 
1# Filters added to this controller apply to all controllers in the application.
2# Likewise, all the methods added will be available for all controllers.
3
4class ApplicationController < ActionController::Base
5 helper :all # include all helpers, all the time
6
7 # See ActionController::RequestForgeryProtection for details
8 # Uncomment the :secret if you're not using the cookie session store
9 protect_from_forgery # :secret => 'dae0f1d0aa66bc5a354be9b4211bf67a'
10
11 # See ActionController::Base for details
12 # Uncomment this to filter the contents of submitted sensitive data parameters
13 # from your application log (in this case, all fields with names like "password").
14 # filter_parameter_logging :password
15end
Note: See TracBrowser for help on using the repository browser.