mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
forgot the removal of the middleware&the comment in application.rb
This commit is contained in:
@@ -39,6 +39,8 @@ gem "fastercsv", "~> 1.5.0", :platforms => [:ruby_18, :jruby, :mingw_18]
|
||||
gem 'globalize3', :git => 'https://github.com/svenfuchs/globalize3.git'
|
||||
gem "delayed_job_active_record" # that's how delayed job's readme recommends it
|
||||
|
||||
gem 'request_store'
|
||||
|
||||
# TODO: adds #auto_link which was deprecated in rails 3.1
|
||||
gem 'rails_autolink'
|
||||
gem "will_paginate", '~> 3.0'
|
||||
|
||||
@@ -262,6 +262,7 @@ GEM
|
||||
rdoc (3.12.2)
|
||||
json (~> 1.4)
|
||||
ref (1.0.5)
|
||||
request_store (1.0.5)
|
||||
rmagick (2.13.2)
|
||||
rspec (2.13.0)
|
||||
rspec-core (~> 2.13.0)
|
||||
@@ -408,6 +409,7 @@ DEPENDENCIES
|
||||
rb-fsevent
|
||||
rb-readline
|
||||
rdoc (>= 2.4.2)
|
||||
request_store
|
||||
rmagick (>= 1.15.17)
|
||||
rspec (~> 2.0)
|
||||
rspec-example_disabler
|
||||
|
||||
@@ -86,11 +86,6 @@ module OpenProject
|
||||
# automatically compile translations.js
|
||||
config.middleware.use I18n::JS::Middleware
|
||||
|
||||
# add the request-store to the middleware to make sure, that thread-loca variables are
|
||||
# cleaned up after the request
|
||||
require "request_store/middleware"
|
||||
config.middleware.use RequestStore::Middleware
|
||||
|
||||
# Configure the default encoding used in templates for Ruby 1.9.
|
||||
config.encoding = "utf-8"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user