class Employee::Pathwright::CoursesController < Employee::Controller
  include CacheHelper

  def show
    render_success :ok, json: course
  end

  private
    def course
      @course ||= Pathwright::Course.find_by(id: params[:id])
    end
end
