diff options
author | José Valim <jose.valim@gmail.com> | 2011-05-08 12:57:07 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-05-08 12:59:04 +0200 |
commit | 80bf68aa1ba7aea9aded5094e81af05b159ceaa4 (patch) | |
tree | f31b4072204f6f3839de8fd219017b42cd243f7e /actionpack/lib/sprockets | |
parent | c2b55c4fbfc427e9ca468fce0392de591c87747a (diff) | |
download | rails-80bf68aa1ba7aea9aded5094e81af05b159ceaa4.tar.gz rails-80bf68aa1ba7aea9aded5094e81af05b159ceaa4.tar.bz2 rails-80bf68aa1ba7aea9aded5094e81af05b159ceaa4.zip |
prepend the assets route instead of appending, closes #436
Diffstat (limited to 'actionpack/lib/sprockets')
-rw-r--r-- | actionpack/lib/sprockets/railtie.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/sprockets/railtie.rb b/actionpack/lib/sprockets/railtie.rb index 9c10decd60..0b4b0638b2 100644 --- a/actionpack/lib/sprockets/railtie.rb +++ b/actionpack/lib/sprockets/railtie.rb @@ -39,7 +39,7 @@ module Sprockets end end - app.routes.append do + app.routes.prepend do mount app.assets => assets.prefix end |