Module: Staticker::ApplicationHelper

Defined in:
app/helpers/staticker/application_helper.rb

Instance Method Summary collapse

Instance Method Details

#pdf_path(source) ⇒ Object Also known as: path_to_pdf



8
9
10
# File 'app/helpers/staticker/application_helper.rb', line 8

def pdf_path(source)
  asset_paths.compute_public_path(source, 'pdf')
end

#swf_path(source) ⇒ Object Also known as: path_to_swf



3
4
5
# File 'app/helpers/staticker/application_helper.rb', line 3

def swf_path(source)
  asset_paths.compute_public_path(source, 'flash', 'swf')
end