Sha256: 49af830ef9b32a7a058c14b326fce8625a6bed6091af2b38328e188d691ad4d2

Contents?: true

Size: 233 Bytes

Versions: 2

Compression:

Stored size: 233 Bytes

Contents

class ContentCategoryController < Spree::BaseController
  resource_controller
  actions :show, :index
  
  def show
    @contentCategory = ContentCategory.find(params[:id])
    @contentParts = @contentCategory.content_parts
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree-cms-0.2.0 app/controllers/content_category_controller.rb
spree-cms-0.1.0 app/controllers/content_category_controller.rb