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