root/trunk/railties/helpers/application.rb
| Revision 8055, 452 bytes (checked in by bitsweat, 1 year ago) |
|---|
| 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 | |
| 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 => '<%= app_secret %>' |
| 10 | end |
Note: See TracBrowser for help on using the browser.