Class: Palapala::SprocketsAsset

Inherits:
BaseAsset show all
Defined in:
lib/palapala/asset_helper.rb

Instance Method Summary collapse

Methods inherited from BaseAsset

#initialize

Constructor Details

This class inherits a constructor from Palapala::BaseAsset

Instance Method Details

#contentObject



24
25
26
# File 'lib/palapala/asset_helper.rb', line 24

def content
  @asset.source
end

#content_typeObject



20
21
22
# File 'lib/palapala/asset_helper.rb', line 20

def content_type
  @asset.content_type
end