From 79550e8995e97bd0278bfe5c05151ac94495e9b1 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Tue, 29 Dec 2009 19:10:26 -0800 Subject: Revert "Add default respond_to formats to ApplicationController." (Needs consensus that these are appropriate defaults.) This reverts commit 66604b2e0e8d3aba25cab673c7a3d7831a68490c. --- .../rails/app/templates/app/controllers/application_controller.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'railties') diff --git a/railties/lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb b/railties/lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb index 95b6a0af6d..9889b52893 100644 --- a/railties/lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb +++ b/railties/lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb @@ -4,6 +4,5 @@ class ApplicationController < ActionController::Base helper :all protect_from_forgery - respond_to :html, :js, :xml, :json filter_parameter_logging :password end -- cgit v1.2.3