aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-12-29 19:10:26 -0800
committerJeremy Kemper <jeremy@bitsweat.net>2009-12-29 19:11:00 -0800
commit79550e8995e97bd0278bfe5c05151ac94495e9b1 (patch)
treedba239785b26dc4fbbbd10f51ba95252c8c0b1c0 /railties
parente5c88434dbb7dc0690a474ae7c913453bf289328 (diff)
downloadrails-79550e8995e97bd0278bfe5c05151ac94495e9b1.tar.gz
rails-79550e8995e97bd0278bfe5c05151ac94495e9b1.tar.bz2
rails-79550e8995e97bd0278bfe5c05151ac94495e9b1.zip
Revert "Add default respond_to formats to ApplicationController."
(Needs consensus that these are appropriate defaults.) This reverts commit 66604b2e0e8d3aba25cab673c7a3d7831a68490c.
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb1
1 files changed, 0 insertions, 1 deletions
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