Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

use_accept_header is no longer supported

  • Loading branch information...
commit 27f43cc5833de08c28771836794d59cc16232ffe 1 parent d2f3ef1
@neerajdotname neerajdotname authored fxn committed
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
Please sign in to comment.
Something went wrong with that request. Please try again.