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:
parent
2e87196d14
commit
66604b2e0e
1 changed files with 1 additions and 0 deletions
|
@ -4,5 +4,6 @@
|
|||
class ApplicationController < ActionController::Base
|
||||
helper :all
|
||||
protect_from_forgery
|
||||
respond_to :html, :js, :xml, :json
|
||||
filter_parameter_logging :password
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue