Sha256: 1b4d0e8dccb9a1f2d37a0461cff05ad5e57da9bd41c3844fc3598f711f906d46

Contents?: true

Size: 332 Bytes

Versions: 5

Compression:

Stored size: 332 Bytes

Contents

Ecm::Courses::Engine.routes.draw do
  localized do
    resources :course_categories, only: [:index, :show]
    resources :courses, only: [:show] do
      member do
        get "calendar", action: :calendar
        get "calendar/:year/:month", action: :calendar
      end
    end
    resources :course_dates, only: [:show]
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ecm_courses2-0.2.4 config/routes.rb
ecm_courses2-0.2.3 config/routes.rb
ecm_courses2-0.2.2 config/routes.rb
ecm_courses2-0.2.1 config/routes.rb
ecm_courses2-0.1.0 config/routes.rb