Module: Lcms::Engine::DownloadHelper

Defined in:
app/helpers/lcms/engine/download_helper.rb

Instance Method Summary collapse

Instance Method Details

#file_icon(type) ⇒ Object



6
7
8
# File 'app/helpers/lcms/engine/download_helper.rb', line 6

def file_icon(type)
  %w(excel doc pdf powerpoint zip).include?(type) ? type : 'unknown'
end