Skip to content

Commit

Permalink
Use railtie_name to correctly get name from plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
drogus authored and josevalim committed Oct 14, 2010
1 parent 72545da commit 11558a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/lib/rails/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 11558a1

Please sign in to comment.