Module: Lotus::Assets::Helpers

Defined in:
lib/lotus/assets/helpers.rb,
lib/lotus/assets/helpers/asset_tag.rb,
lib/lotus/assets/helpers/asset_tags.rb

Defined Under Namespace

Classes: AssetTag, AssetTags

Instance Method Summary collapse

Instance Method Details

#javascript(*sources) ⇒ Object


6
7
8
# File 'lib/lotus/assets/helpers.rb', line 6

def javascript(*sources)
  AssetTags.render(:javascript, *sources)
end

#stylesheet(*sources) ⇒ Object


10
11
12
# File 'lib/lotus/assets/helpers.rb', line 10

def stylesheet(*sources)
  AssetTags.render(:stylesheet, *sources)
end