Module: Isomorfeus::AssetManager::ViewHelper
- Defined in:
- lib/isomorfeus/asset_manager/view_helper.rb
Instance Method Summary collapse
Instance Method Details
#script_tag(path) ⇒ Object
4 5 6 |
# File 'lib/isomorfeus/asset_manager/view_helper.rb', line 4 def script_tag(path) "<script type=\"application/javascript\" src=\"#{Isomorfeus.assets_path}/#{path}\"></script>" end |
#stylesheet_tag(path) ⇒ Object
8 9 10 |
# File 'lib/isomorfeus/asset_manager/view_helper.rb', line 8 def stylesheet_tag(path) "<link rel=\"stylesheet\" type=\"text/css\" href=\"#{Isomorfeus.assets_path}/#{path}\">" end |