Module: Juicer::Helper

Defined in:
lib/juicer-rails/helper.rb

Instance Method Summary collapse

Instance Method Details

#merged_javascripts(key, options = {}) ⇒ Object



5
6
7
# File 'lib/juicer-rails/helper.rb', line 5

def merged_javascripts(key, options = {})
  javascript_include_tag(Juicer::Collection.dispatch(key, 'js'), options)
end

#merged_stylesheets(key, options = {}) ⇒ Object



9
10
11
# File 'lib/juicer-rails/helper.rb', line 9

def merged_stylesheets(key, options = {})
  stylesheet_link_tag(Juicer::Collection.dispatch(key, 'css'), options)
end