From 7ef7475e11699ad89e77adef2afacf1ec9e85874 Mon Sep 17 00:00:00 2001 From: Tim Felgentreff Date: Wed, 16 Mar 2011 12:12:20 +0100 Subject: [PATCH] serving static assets in development mode only while engines don't work on rails3 ... moving this to application --- init.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/init.rb b/init.rb index 2b0f3f160e..a130ffe1e5 100644 --- a/init.rb +++ b/init.rb @@ -3,7 +3,3 @@ fail "upgrade ruby version, ruby < 1.8.7 suffers from Hash#hash bug" if {:a => 1 require 'big_decimal_patch' require 'to_date_patch' - -if Rails.version.start_with? "3" - config.middleware.use ::ActionDispatch::Static, "#{root}/assets" -end