Last change
on this file since 405 was 181, checked in by KOBAYASHI, Shinji, 15 years ago |
assumed_library_types ride on rails
|
File size:
720 bytes
|
Rev | Line | |
---|
[181] | 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 |
|
---|
| 4 | class 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
|
---|
| 15 | end
|
---|
Note:
See
TracBrowser
for help on using the repository browser.