Permalink
Browse files

Use railtie_name to correctly get name from plugins

  • Loading branch information...
drogus authored and josevalim committed Oct 13, 2010
1 parent 72545da commit 11558a11fe2b1b614a9ae3f1e5c190b65a8d22ad
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/engine.rb
@@ -510,7 +510,7 @@ def load_seed
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)

0 comments on commit 11558a1

Please sign in to comment.