class ContentPartController < Spree::BaseController resource_controller actions :show, :index def show @contentPart = ContentPart.find(params[:id]) end end