Sha256: 05239a9f31fa97a45b51e9a1b599cf473cd66e9924756daec707574255774b79
Contents?: true
Size: 418 Bytes
Versions: 2
Compression:
Stored size: 418 Bytes
Contents
module Ecm::Downloads module DownloadCategoryHelper def render_download_category(download_category_name, options = {}) download_category = DownloadCategory.where(:name => download_category_name).first if download_category.nil? I18n.t('ecm.downloads.download_category.messages.not_found', :name => download_category_name) else render download_category end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ecm_downloads2-1.1.0 | app/helpers/ecm/downloads/download_category_helper.rb |
ecm_downloads2-1.0.0 | app/helpers/ecm/downloads/download_category_helper.rb |