Sha256: a0f0077ff09a61927e076dea45ebb3036b7f081c74005f397d96e560864ef73a

Contents?: true

Size: 353 Bytes

Versions: 5

Compression:

Stored size: 353 Bytes

Contents

class Ecm::Courses::CourseDatesController < ApplicationController
  def index
    @course_dates = Ecm::Courses::CourseDate.includes(:ecm_courses_course => [ :ecm_courses_course_category ]).all
  end
  
  def show
    @course_date = Ecm::Courses::CourseDate.includes(:ecm_courses_course => [ :ecm_courses_course_category ]).find(params[:id])
  end  
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ecm_courses-0.0.1 app/controllers/ecm/courses/course_dates_controller.rb
ecm_courses-0.0.7.pre app/controllers/ecm/courses/course_dates_controller.rb
ecm_courses-0.0.6.pre app/controllers/ecm/courses/course_dates_controller.rb
ecm_courses-0.0.5.pre app/controllers/ecm/courses/course_dates_controller.rb
ecm_courses-0.0.4.pre app/controllers/ecm/courses/course_dates_controller.rb