Sha256: 9c1da5037c38f8d2a7fe25d6836fbcb1ae5beb131bbbd010ec6c8ed97962820c
Contents?: true
Size: 1013 Bytes
Versions: 3
Compression:
Stored size: 1013 Bytes
Contents
Rails.application.routes.draw do mount EffectiveMentorships::Engine => '/', as: 'effective_mentorships' end EffectiveMentorships::Engine.routes.draw do scope module: 'effective' do resources :mentorship_cycles, only: [] do resources :mentorship_registrations, except: [:index, :show] end resources :mentorship_groups, only: [:show] end namespace :admin do resources :mentorship_cycles, except: [:show] resources :mentorship_registrations, except: [:show] resources :mentorship_bulk_groups, only: [:index, :new, :show, :destroy] do resources :build, controller: :mentorship_bulk_groups, only: [:show, :update] end resources :mentorship_groups, except: [:show] do post :publish, on: :member post :draft, on: :member post :notify, on: :member post :bulk_notify, on: :collection post :bulk_publish, on: :collection post :bulk_draft, on: :collection end resources :mentorship_group_users, except: [:show] end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
effective_mentorships-0.3.4 | config/routes.rb |
effective_mentorships-0.3.3 | config/routes.rb |
effective_mentorships-0.3.2 | config/routes.rb |