aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/application.rb5
-rw-r--r--config/initializers/alaveteli.rb2
2 files changed, 1 insertions, 6 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
diff --git a/config/initializers/alaveteli.rb b/config/initializers/alaveteli.rb
index 22ea238b7..d78bc3925 100644
--- a/config/initializers/alaveteli.rb
+++ b/config/initializers/alaveteli.rb
@@ -10,7 +10,7 @@ load "debug_helpers.rb"
load "util.rb"
# Application version
-ALAVETELI_VERSION = '0.11'
+ALAVETELI_VERSION = '0.12'
# Add new inflection rules using the following format
# (all these examples are active by default):