Skip to content
Browse files

Revert "Add default respond_to formats to ApplicationController."

(Needs consensus that these are appropriate defaults.)

This reverts commit 66604b2.
  • Loading branch information...
1 parent e5c8843 commit 79550e8995e97bd0278bfe5c05151ac94495e9b1 @jeremy jeremy committed Dec 29, 2009
View
1 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

1 comment on commit 79550e8

@KieranP

I'd say they're about right. And it's not as if people can't add or remove some.

Please sign in to comment.
Something went wrong with that request. Please try again.