diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-06-26 12:05:55 -0700 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-06-26 12:05:55 -0700 |
commit | 9452a2e5fffd35be383250ada139b349a5866acb (patch) | |
tree | 1a894ade4026a294fbfd41b48eb73907135d1338 /config/application.rb | |
parent | 0d9de53bdccf20cc2884f0ad896d5e9dd2edee03 (diff) |
Revert "Assume that format will be specified in the url requested, or default to HTML. Fixes #989."
This reverts commit c1b3324922687778b316ee1a180582013bcf6d0e.
Diffstat (limited to 'config/application.rb')
-rw-r--r-- | config/application.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/config/application.rb b/config/application.rb index 8bfec7f4b..92fd30685 100644 --- a/config/application.rb +++ b/config/application.rb @@ -71,10 +71,5 @@ module Alaveteli # Insert a bit of middleware code to prevent uneeded cookie setting. require "#{Rails.root}/lib/whatdotheyknow/strip_empty_sessions" config.middleware.insert_before ActionDispatch::Session::CookieStore, WhatDoTheyKnow::StripEmptySessions, :key => '_wdtk_cookie_session', :path => "/", :httponly => true - - # Ignore ACCEPT headers as a specification of format, only pay attention to - # formats specified in URLs - config.action_dispatch.ignore_accept_header = true - end end |