module FallbackAssets::Helper
Public Instance Methods
fallback_javascript(name)
click to toggle source
# File lib/fallback_assets/helper.rb, line 11 def fallback_javascript(name) asset = FallbackAssets::load_javascript(name) FallbackAssets::HtmlAsset.new(asset).create_script.html_safe end
fallback_stylesheet(name)
click to toggle source
# File lib/fallback_assets/helper.rb, line 5 def fallback_stylesheet(name) asset = FallbackAssets::load_stylesheet(name) FallbackAssets::HtmlAsset.new(asset).create_link.html_safe end