Sha256: 5ab9273b3e9d1af04edea9aa2d85999750de90290a70ea78b5b80c8c485bbf9b

Contents?: true

Size: 309 Bytes

Versions: 1

Compression:

Stored size: 309 Bytes

Contents

class Ecm::Downloads::DownloadCategoriesController < Ecm::Downloads::Configuration.base_controller.constantize
  def index
    @download_categories = Ecm::Downloads::DownloadCategory.all.decorate
  end

  def show
    @download_category = Ecm::Downloads::DownloadCategory.friendly.find(params[:id])
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ecm_downloads2-2.0.3 app/controllers/ecm/downloads/download_categories_controller.rb