JSONApi progress
This commit is contained in:
+8
-1
@@ -83,10 +83,17 @@ Qwaiter::Application.routes.draw do
|
||||
get :current
|
||||
end
|
||||
resources :orders, only: [:index]
|
||||
member do
|
||||
get :table
|
||||
end
|
||||
end
|
||||
|
||||
resources :orders, only: [:create]
|
||||
resources :tables, only: [:show]
|
||||
resources :tables, only: [:show] do
|
||||
member do
|
||||
get :supplier
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user