From 60eaae4f7df1f1dae91defb87d3707451c359cf4 Mon Sep 17 00:00:00 2001 From: francis Date: Wed, 23 Jan 2008 01:48:14 +0000 Subject: Freeze in rails 2.0.2 (Am I going to regret having this beast in CVS?) --- vendor/rails-2.0.2/railties/helpers/application.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 vendor/rails-2.0.2/railties/helpers/application.rb (limited to 'vendor/rails-2.0.2/railties/helpers/application.rb') 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 -- cgit v1.2.3