Changed views and routes
used sigular resource for routes added destroy action in custom domains made instructions in 'edit/new' and 'show' visually similar added new action and view for custom domain
This commit is contained in:
parent
0494f022d2
commit
7317fc1f9f
10 changed files with 100 additions and 79 deletions
|
|
@ -32,10 +32,7 @@ Osem::Application.routes.draw do
|
|||
end
|
||||
resources :comments, only: [:index]
|
||||
resources :conferences do
|
||||
get 'conference_domains/edit' => 'conference_domains#edit'
|
||||
get 'conference_domain' => 'conference_domains#show'
|
||||
patch 'conference_domain' => 'conference_domains#update'
|
||||
|
||||
resource :domain, controller: 'conference_domains'
|
||||
resource :contact, except: [:index, :new, :create, :show, :destroy]
|
||||
resources :schedules, only: [:index, :create, :show, :update, :destroy]
|
||||
resources :event_schedules, only: [:create, :update, :destroy]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue