Sha256: 06060b9f6430f1fb8055207b208d4cb1d62aa14988e2b6d28a2657611b95d6f5

Contents?: true

Size: 430 Bytes

Versions: 1

Compression:

Stored size: 430 Bytes

Contents

Ecm::Courses::Engine.routes.draw do
  localized do
    scope :ecm_courses 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]
      
      root to: 'course_categories#index'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ecm_courses2-1.0.0 config/routes.rb