diff options
author | Neeraj Singh <neerajdotname@gmail.com> | 2010-11-20 21:00:44 -0500 |
---|---|---|
committer | Neeraj Singh <neerajdotname@gmail.com> | 2010-11-20 21:00:44 -0500 |
commit | 69d47a00c7e43e2431aa1b164a2e6309da1bf118 (patch) | |
tree | 435470cfbcaf47b61af8a85ae0b8dd88bb7d7c00 /actionpack/lib | |
parent | 5b86e8f5e9fbc55a04d72113035054c35a400507 (diff) | |
download | rails-69d47a00c7e43e2431aa1b164a2e6309da1bf118.tar.gz rails-69d47a00c7e43e2431aa1b164a2e6309da1bf118.tar.bz2 rails-69d47a00c7e43e2431aa1b164a2e6309da1bf118.zip |
use_accept_header is no longer supported
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_dispatch/http/mime_negotiation.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/http/mime_negotiation.rb b/actionpack/lib/action_dispatch/http/mime_negotiation.rb index b959aa258e..5bb42cca3a 100644 --- a/actionpack/lib/action_dispatch/http/mime_negotiation.rb +++ b/actionpack/lib/action_dispatch/http/mime_negotiation.rb @@ -36,7 +36,7 @@ module ActionDispatch # # GET /posts/5.xml | request.format => Mime::XML # GET /posts/5.xhtml | request.format => Mime::HTML - # GET /posts/5 | request.format => Mime::HTML or MIME::JS, or request.accepts.first depending on the value of <tt>ActionController::Base.use_accept_header</tt> + # GET /posts/5 | request.format => Mime::HTML or MIME::JS, or request.accepts.first # def format(view_path = []) formats.first |