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