diff options
author | Neeraj Singh <neerajdotname@gmail.com> | 2010-11-20 21:00:44 -0500 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-11-21 03:29:44 +0100 |
commit | 7d5b097357c3bbfb86c95271d1bdbe5148a01069 (patch) | |
tree | daf77f45207ee8a1253d42a27494c41caced450a | |
parent | a03a3b7c3130a93ca6385a1f89ce553d00ca3c49 (diff) | |
download | rails-7d5b097357c3bbfb86c95271d1bdbe5148a01069.tar.gz rails-7d5b097357c3bbfb86c95271d1bdbe5148a01069.tar.bz2 rails-7d5b097357c3bbfb86c95271d1bdbe5148a01069.zip |
use_accept_header is no longer supported
-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 |