class CertificatesController < WithCatalogueSectionsController

  def index
    @certificates = Certificate.visible_to_user.page(params[:page]).per(10)
  end

  def show
    @certificate = Certificate.visible_to_user.find(params[:id])
  end
end
