aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/rails-2.0.2/railties/helpers/application.rb
diff options
context:
space:
mode:
authorfrancis <francis>2008-01-23 01:48:14 +0000
committerfrancis <francis>2008-01-23 01:48:14 +0000
commit60eaae4f7df1f1dae91defb87d3707451c359cf4 (patch)
treee74835c37779a2f094e810960cda07b99a75330e /vendor/rails-2.0.2/railties/helpers/application.rb
parent71d22c740302e1f83bbbd89b229734ea9c67493c (diff)
Freeze in rails 2.0.2 (Am I going to regret having this beast in CVS?)
Diffstat (limited to 'vendor/rails-2.0.2/railties/helpers/application.rb')
-rw-r--r--vendor/rails-2.0.2/railties/helpers/application.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/vendor/rails-2.0.2/railties/helpers/application.rb b/vendor/rails-2.0.2/railties/helpers/application.rb
new file mode 100644
index 000000000..9a79f69a4
--- /dev/null
+++ b/vendor/rails-2.0.2/railties/helpers/application.rb
@@ -0,0 +1,10 @@
+# Filters added to this controller apply to all controllers in the application.
+# Likewise, all the methods added will be available for all controllers.
+
+class ApplicationController < ActionController::Base
+ helper :all # include all helpers, all the time
+
+ # See ActionController::RequestForgeryProtection for details
+ # Uncomment the :secret if you're not using the cookie session store
+ protect_from_forgery # :secret => '<%= app_secret %>'
+end