Skip to content
Browse files

Use railtie_name to correctly get name from plugins

  • Loading branch information...
1 parent 72545da commit 11558a11fe2b1b614a9ae3f1e5c190b65a8d22ad @drogus drogus committed with josevalim
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/engine.rb
View
2 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.
Something went wrong with that request. Please try again.