serving static assets in development mode only while engines don't work on rails3 ... moving this to application

pull/6827/head
Tim Felgentreff 14 years ago
parent b580a42a74
commit 7ef7475e11
  1. 4
      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

Loading…
Cancel
Save