module Sinatra::Fontaine::Bootstrap::AssetsHelper
Public Instance Methods
bootstrap_fontaine()
click to toggle source
# File lib/fontaine/bootstrap.rb, line 34 def bootstrap_fontaine bootstrap_js end
bootstrap_js()
click to toggle source
# File lib/fontaine/bootstrap.rb, line 38 def bootstrap_js output = '' Assets::ASSETS[:js].each do |file, _| output += '<script type="text/javascript" src="%s"></script>' % url('/js/%s' % file) end output end