Waiter app progress
This commit is contained in:
+5
-3
@@ -39,13 +39,15 @@ Qwaiter::Application.routes.draw do
|
||||
|
||||
#WAITER
|
||||
#get '/waiter' => 'waiter#index' #, controller: 'waiter', action: 'index'
|
||||
get '/waiter/sections' => 'waiter#sections'
|
||||
#get '/waiter/sections' => 'waiter#sections'
|
||||
get '/waiter/product_categories' => 'waiter#product_categories'
|
||||
get '/waiter/*rest' => redirect('/waiter') # Ember app refresh
|
||||
post '/waiter/order_products' => 'waiter#order_products', as: :order_products_waiter
|
||||
namespace :waiter do
|
||||
root to: 'dashboard#index'
|
||||
resources :sections
|
||||
resources :suppliers
|
||||
|
||||
root to: 'dashboard#index'
|
||||
get '/*rest' => redirect('/waiter') # Ember app refresh
|
||||
end
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user