Module: SprocketsApplication
- Defined in:
- lib/sprockets_application.rb
Class Method Summary collapse
- .install_assets ⇒ Object
- .install_script ⇒ Object
- .routes(map) ⇒ Object
- .source(group = nil) ⇒ Object
Class Method Details
.install_assets ⇒ Object
19 20 21 |
# File 'lib/sprockets_application.rb', line 19 def install_assets secretary.install_assets end |
.install_script ⇒ Object
15 16 17 |
# File 'lib/sprockets_application.rb', line 15 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 |
.source(group = nil) ⇒ Object
10 11 12 13 |
# File 'lib/sprockets_application.rb', line 10 def source(group = nil) @group = group || "default" concatenation.to_s end |