Permalink
Browse files

use_accept_header is no longer supported

  • Loading branch information...
1 parent 5b86e8f commit 69d47a00c7e43e2431aa1b164a2e6309da1bf118 Neeraj Singh committed Nov 21, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_dispatch/http/mime_negotiation.rb
View
2 actionpack/lib/action_dispatch/http/mime_negotiation.rb
@@ -36,7 +36,7 @@ def accepts
#
# 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

0 comments on commit 69d47a0

Please sign in to comment.