Sha256: b8459d94f4c4645abb15d3ebc1be005915f2ce92b1b4354337481ba03c340a42
Contents?: true
Size: 407 Bytes
Versions: 9
Compression:
Stored size: 407 Bytes
Contents
module Ecm::Downloads::DownloadCategoryHelper def render_download_category(download_category_name, options = {}) download_category = ::Ecm::Downloads::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
Version data entries
9 entries across 9 versions & 1 rubygems