백로그
0할 일
0진행 중
0리뷰
0완료 (전체)
1PR 5-2: 교육 공개 페이지 구현
edu 서브도메인 공개 페이지: 코스 목록, 코스 상세, 레슨 플레이어, 수강등록. TDD 기반. ## 담당 파일 - app/controllers/study/courses_controller.rb (신규) - app/controllers/study/lessons_controller.rb (신규) - app/controllers/study/enrollments_controller.rb (신규) - app/views/study/courses/index.html.erb (신규) - app/views/study/courses/show.html.erb (신규) - app/views/study/lessons/show.html.erb (신규) - app/views/layouts/study.html.erb (수정 — 네비게이션 등) - config/routes.rb (edu subdomain에 라우트 추가) - test/controllers/study/ (3개 컨트롤러 테스트) ## 완료 기준 - edu 서브도메인 → 활성 코스 목록 - 코스 상세 (커리큘럼, 미리보기, 가격) - 수강 등록 (로그인 필요) - 레슨 시청 (등록자만, 미리보기는 모두) - Vimeo/YouTube 비디오 임베드 - 미등록자: 미리보기 레슨만 접근 ## 주의사항 - Study::BaseController 상속 (layout "study", allow_unauthenticated_access) - routes.rb edu subdomain 블록 내에만 라우트 추가 - 다른 routes 영역 수정 금지