Class: Rails::Engine::Configuration
- Inherits:
-
Railtie::Configuration
- Object
- Railtie::Configuration
- Rails::Engine::Configuration
show all
- Defined in:
- lib/extensions/engine_ext.rb
Instance Method Summary
collapse
Instance Method Details
#paths_with_assets ⇒ Object
4
5
6
7
8
9
10
11
12
13
|
# File 'lib/extensions/engine_ext.rb', line 4
def paths_with_assets
@paths ||= begin
paths = paths_without_assets
paths.app.assets "app/assets", :glob => "*"
paths.lib.assets "lib/assets", :glob => "*"
paths.vendor "vendor", :load_path => true
paths.vendor.assets "vendor/assets", :glob => "*"
paths
end
end
|