Commit 9eb0dddb authored by Steffen van Bergerem's avatar Steffen van Bergerem Committed by Jonne Haß

Speed up asset serving in development

closes #6702
parent 24c24374
......@@ -247,6 +247,8 @@ group :development do
# test coverage
gem "simplecov", "0.11.2", require: false
gem "turbo_dev_assets", "0.0.2"
end
group :test do
......
......@@ -732,6 +732,7 @@ GEM
hitimes
tins (1.6.0)
trollop (2.1.2)
turbo_dev_assets (0.0.2)
twitter (5.16.0)
addressable (~> 2.3)
buftok (~> 0.2.0)
......@@ -897,6 +898,7 @@ DEPENDENCIES
spring-commands-rspec (= 1.0.4)
test_after_commit (= 0.4.2)
timecop (= 0.8.0)
turbo_dev_assets (= 0.0.2)
twitter (= 5.16.0)
twitter-text (= 1.13.3)
typhoeus (= 0.8.0)
......
......@@ -37,4 +37,7 @@ Diaspora::Application.configure do
# Show the logging configuration on STDOUT
config.show_log_configuration = true
# Speed up asset serving
config.middleware.insert 0, TurboDevAssets
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment