2006-05-07 04:28:42 -04:00
|
|
|
# Filters added to this controller apply to all controllers in the application.
|
2005-10-14 21:10:12 -04:00
|
|
|
# Likewise, all the methods added will be available for all controllers.
|
2006-05-07 04:28:42 -04:00
|
|
|
|
2004-12-15 06:30:09 -05:00
|
|
|
class ApplicationController < ActionController::Base
|
2007-02-24 15:33:47 -05:00
|
|
|
helper :all # include all helpers, all the time
|
2007-09-28 12:50:48 -04:00
|
|
|
|
|
|
|
# See ActionController::RequestForgeryProtection for details
|
2007-09-30 22:02:50 -04:00
|
|
|
# Uncomment the :secret if you're not using the cookie session store
|
|
|
|
protect_from_forgery # :secret => '<%= app_secret %>'
|
2007-10-29 17:40:23 -04:00
|
|
|
end
|