Sha256: 311369d6c57a13f6ac782edc8a89cf54583cf9ffdc581e26882ae4ebac0b3e4f

Contents?: true

Size: 254 Bytes

Versions: 3

Compression:

Stored size: 254 Bytes

Contents

class Ecm::Downloads::DownloadCategoriesController < FrontendController
  def index
    @download_categories = Ecm::Downloads::DownloadCategory.all
  end
  
  def show
    @download_category = Ecm::Downloads::DownloadCategory.find(params[:id])
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ecm_downloads-0.0.4 app/controllers/ecm/downloads/download_categories_controller.rb
ecm_downloads-0.0.3 app/controllers/ecm/downloads/download_categories_controller.rb
ecm_downloads-0.0.2 app/controllers/ecm/downloads/download_categories_controller.rb