Sha256: 49e7cfda71eb9b3ac76bab8f2aa1301f00137a5d6053baecbc847094690ba7f3
Contents?: true
Size: 319 Bytes
Versions: 9
Compression:
Stored size: 319 Bytes
Contents
module Ecm::Downloads::DownloadHelper def render_download(download_name, options = {}) download = ::Ecm::Downloads::Download.where(:name => download_name).first if download.nil? I18n.t('ecm.downloads.download.messages.not_found', :name => download_name) else render download end end end
Version data entries
9 entries across 9 versions & 1 rubygems