diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2010-10-14 00:09:36 +0300 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-10-14 07:46:12 +0200 |
commit | 11558a11fe2b1b614a9ae3f1e5c190b65a8d22ad (patch) | |
tree | 6b4fa9c6669fbbce4b728faa3475d5cd0b11668a /railties/lib | |
parent | 72545da09146ea84506b6e4a023df2453f137fa7 (diff) | |
download | rails-11558a11fe2b1b614a9ae3f1e5c190b65a8d22ad.tar.gz rails-11558a11fe2b1b614a9ae3f1e5c190b65a8d22ad.tar.bz2 rails-11558a11fe2b1b614a9ae3f1e5c190b65a8d22ad.zip |
Use railtie_name to correctly get name from plugins
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/engine.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/engine.rb b/railties/lib/rails/engine.rb index 7f0d96a2ff..25ca8c4758 100644 --- a/railties/lib/rails/engine.rb +++ b/railties/lib/rails/engine.rb @@ -510,7 +510,7 @@ module Rails end initializer :append_asset_paths do - config.asset_path ||= "/#{engine_name}%s" + config.asset_path ||= "/#{railtie_name}%s" public_path = paths["public"].first if config.compiled_asset_path && File.exist?(public_path) |