Module: Lcms::Engine::DocumentsHelper

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

Instance Method Summary collapse

Instance Method Details

#toc_time(time) ⇒ Object



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

def toc_time(time)
  time.zero? ? raw('—') : "#{time} mins"
end