diff options
author | Simone Carletti <weppos@weppos.net> | 2010-09-20 17:27:26 +0200 |
---|---|---|
committer | Simone Carletti <weppos@weppos.net> | 2010-09-20 17:27:26 +0200 |
commit | f1fdc4ff0a88c4c906099982bbcb4c9a23b4be3f (patch) | |
tree | 0f31d4c560662e69f71d17c5164fc69a0b7bcd09 /railties | |
parent | aa654ab0655163fe12403a1811cef8e06844a27f (diff) | |
download | rails-f1fdc4ff0a88c4c906099982bbcb4c9a23b4be3f.tar.gz rails-f1fdc4ff0a88c4c906099982bbcb4c9a23b4be3f.tar.bz2 rails-f1fdc4ff0a88c4c906099982bbcb4c9a23b4be3f.zip |
Remove mention of Rails 3 deprecated option config.action_controller.use_accept_header.
See http://github.com/rails/rails/blob/v3.0.0/actionpack/lib/action_controller/deprecated/base.rb#L108-111
Diffstat (limited to 'railties')
-rw-r--r-- | railties/guides/source/configuring.textile | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/railties/guides/source/configuring.textile b/railties/guides/source/configuring.textile index 6a4f411acc..bb38c64307 100644 --- a/railties/guides/source/configuring.textile +++ b/railties/guides/source/configuring.textile @@ -149,8 +149,6 @@ WARNING: Threadsafe operation is incompatible with the normal workings of develo * +config.action_controller.optimise_named_routes+ turns on some optimizations in generating the routing table. It is set to +true+ by default. -* +config.action_controller.use_accept_header+ sets the rules for determining the response format. If this is set to +true+ (the default) then +respond_to+ and +Request#format+ will take the Accept header into account. If it is set to false then the request format will be determined solely by examining +params[:format]+. If there is no +format+ parameter, then the response format will be either HTML or Javascript depending on whether the request is an AJAX request. - * +config.action_controller.allow_forgery_protection+ enables or disables CSRF protection. By default this is +false+ in test mode and +true+ in all other modes. * +config.action_controller.relative_url_root+ can be used to tell Rails that you are deploying to a subdirectory. The default is +ENV['RAILS_RELATIVE_URL_ROOT']+. |