Class: Rails::Engine::Configuration

Inherits:
Railtie::Configuration
  • Object
show all
Defined in:
lib/extensions/engine_ext.rb

Direct Known Subclasses

Application::Configuration

Instance Method Summary collapse

Instance Method Details

#paths_with_assetsObject



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