Skip to content

Commit 39ecb27

Browse files
committed
Merge pull request #232 from lucasmazza/lm-manifest-path
Add `app/assets` to the load path.
2 parents 3a44d47 + 21c9c38 commit 39ecb27

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/sprockets/railtie.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ class Engine < Railtie
3333
initializer :append_assets_path, :group => :all do |app|
3434
app.config.assets.paths.unshift(*paths["vendor/assets"].existent_directories)
3535
app.config.assets.paths.unshift(*paths["lib/assets"].existent_directories)
36+
app.config.assets.paths.unshift(*paths["app"].existent_directories.grep(/\/assets\z/))
3637
app.config.assets.paths.unshift(*paths["app/assets"].existent_directories)
3738
end
3839
end

0 commit comments

Comments
 (0)