We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 056d64e commit f565058Copy full SHA for f565058
lib/sprockets/railtie.rb
@@ -64,7 +64,7 @@ def configure(&block)
64
config.after_initialize do |app|
65
config = app.config
66
67
- manifest_path = File.join(::Rails.public_path, config.assets.prefix)
+ manifest_path = File.join(config.paths['public'].first, config.assets.prefix)
68
69
unless config.assets.version.blank?
70
app.assets.version += "-#{config.assets.version}"
0 commit comments