diff options
author | José Valim <jose.valim@gmail.com> | 2009-12-29 10:40:42 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2009-12-29 23:58:25 +0100 |
commit | 66604b2e0e8d3aba25cab673c7a3d7831a68490c (patch) | |
tree | d5211ef9a6d4743c37b0c73fc8f1e35248f4c462 /railties/lib | |
parent | 2e87196d14f0cb7b75a6b81cbd8a0810ed684de9 (diff) | |
download | rails-66604b2e0e8d3aba25cab673c7a3d7831a68490c.tar.gz rails-66604b2e0e8d3aba25cab673c7a3d7831a68490c.tar.bz2 rails-66604b2e0e8d3aba25cab673c7a3d7831a68490c.zip |
Add default respond_to formats to ApplicationController.
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb | 1 |
1 files changed, 1 insertions, 0 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 9889b52893..95b6a0af6d 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,5 +4,6 @@ class ApplicationController < ActionController::Base helper :all protect_from_forgery + respond_to :html, :js, :xml, :json filter_parameter_logging :password end |