Module: Mack::ViewHelpers::LinkHelpers

Defined in:
lib/mack-asset_packager/link_helpers.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#javascript(files, options = {}) ⇒ Object



7
8
9
# File 'lib/mack-asset_packager/link_helpers.rb', line 7

def javascript(files, options = {})
  process_file(files, 'javascripts', options)
end

#old_javascriptsObject



4
# File 'lib/mack-asset_packager/link_helpers.rb', line 4

alias_method :old_javascripts, :javascript

#old_stylesheetsObject



5
# File 'lib/mack-asset_packager/link_helpers.rb', line 5

alias_method :old_stylesheets, :stylesheet

#stylesheet(files, options = {}) ⇒ Object



11
12
13
# File 'lib/mack-asset_packager/link_helpers.rb', line 11

def stylesheet(files, options = {})
  process_file(files, 'stylesheets', options)
end