Sha256: 4bd637fb8cea0eb5e7472ca3a025987cf4819e804c782c7b44975f8fc48ffcd6

Contents?: true

Size: 312 Bytes

Versions: 10

Compression:

Stored size: 312 Bytes

Contents

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ecm_courses2-1.1.4 app/controllers/ecm/courses/course_dates_controller.rb
ecm_courses2-1.1.3 app/controllers/ecm/courses/course_dates_controller.rb
ecm_courses2-1.1.2 app/controllers/ecm/courses/course_dates_controller.rb
ecm_courses2-1.1.1 app/controllers/ecm/courses/course_dates_controller.rb
ecm_courses2-1.1.0 app/controllers/ecm/courses/course_dates_controller.rb
ecm_courses2-1.0.3 app/controllers/ecm/courses/course_dates_controller.rb
ecm_courses2-1.0.2 app/controllers/ecm/courses/course_dates_controller.rb
ecm_courses2-1.0.1 app/controllers/ecm/courses/course_dates_controller.rb
ecm_courses2-1.0.0 app/controllers/ecm/courses/course_dates_controller.rb
ecm_courses2-0.2.4 app/controllers/ecm/courses/course_dates_controller.rb