introduce organizations
This commit is contained in:
parent
bf54487a19
commit
8edf896d86
21 changed files with 345 additions and 4 deletions
|
|
@ -18,6 +18,7 @@ Osem::Application.routes.draw do
|
|||
resources :users, except: [:new, :index, :create, :destroy]
|
||||
|
||||
namespace :admin do
|
||||
resources :organizations
|
||||
resources :users do
|
||||
member do
|
||||
patch :toggle_confirmation
|
||||
|
|
@ -102,7 +103,7 @@ Osem::Application.routes.draw do
|
|||
get '/revision_history/:id/revert_object' => 'versions#revert_object', as: 'revision_history_revert_object'
|
||||
get '/revision_history/:id/revert_attribute' => 'versions#revert_attribute', as: 'revision_history_revert_attribute'
|
||||
end
|
||||
|
||||
resources :organizations
|
||||
resources :conferences, only: [:index, :show] do
|
||||
resource :program, only: [] do
|
||||
resources :proposals, except: :destroy do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue