1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Add default respond_to formats to ApplicationController.

This commit is contained in:
José Valim 2009-12-29 10:40:42 +01:00
parent 2e87196d14
commit 66604b2e0e

View file

@ -4,5 +4,6 @@
class ApplicationController < ActionController::Base
helper :all
protect_from_forgery
respond_to :html, :js, :xml, :json
filter_parameter_logging :password
end