Class: Blix::Rest::Controller
- Inherits:
-
Object
- Object
- Blix::Rest::Controller
- Defined in:
- lib/blix/assets.rb
Instance Method Summary collapse
- #asset_path(partial_path) ⇒ Object
-
#asset_tag(partial_path, opts = {}) ⇒ Object
make a complete html tag for an asset.
Instance Method Details
#asset_path(partial_path) ⇒ Object
8 9 10 |
# File 'lib/blix/assets.rb', line 8 def asset_path(partial_path) AssetManager.asset_path(full_path(partial_path),mode_production?) end |
#asset_tag(partial_path, opts = {}) ⇒ Object
make a complete html tag for an asset
13 14 15 |
# File 'lib/blix/assets.rb', line 13 def asset_tag(partial_path,opts={}) AssetManager.asset_tag(full_path(partial_path),mode_production?,opts) end |