Module: SprocketsApplication

Defined in:
lib/sprockets_application.rb

Class Method Summary collapse

Class Method Details

.install_assetsObject



18
19
20
# File 'lib/sprockets_application.rb', line 18

def install_assets
  secretary.install_assets
end

.install_scriptObject



14
15
16
# File 'lib/sprockets_application.rb', line 14

def install_script
  concatenation.save_to(asset_path)
end

.routes(map) ⇒ Object



6
7
8
# File 'lib/sprockets_application.rb', line 6

def routes(map)
  map.resource(:sprockets)
end

.sourceObject



10
11
12
# File 'lib/sprockets_application.rb', line 10

def source
  concatenation.to_s
end