diff options
Diffstat (limited to 'config/environments/development.rb')
-rw-r--r-- | config/environments/development.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb index b334a1e19..b77fa2fe9 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -54,4 +54,14 @@ Alaveteli::Application.configure do Bullet.add_footer = true end end + + if AlaveteliConfiguration.use_rack_insight_in_development + config.middleware.insert_before ::WhatDoTheyKnow::StripEmptySessions, + Rack::Insight::App, + :secret_key => AlaveteliConfiguration.rack_insight_secret_key, + :database_path => AlaveteliConfiguration.rack_insight_database_path, + :password => nil, + :ip_masks => false + end + end |