Skip to content

Commit

Permalink
use_accept_header is no longer supported
Browse files Browse the repository at this point in the history
  • Loading branch information
Neeraj Singh committed Nov 21, 2010
1 parent 5b86e8f commit 69d47a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_dispatch/http/mime_negotiation.rb
Expand Up @@ -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
Expand Down

0 comments on commit 69d47a0

Please sign in to comment.