give some love to the waiter app
This commit is contained in:
+2
-1
@@ -41,11 +41,12 @@ Qwaiter::Application.routes.draw do
|
||||
#WAITER
|
||||
#get '/waiter' => 'waiter#index' #, controller: 'waiter', action: 'index'
|
||||
#get '/waiter/sections' => 'waiter#sections'
|
||||
get '/waiter/product_categories' => 'waiter#product_categories'
|
||||
#get '/waiter/product_categories' => 'waiter#product_categories'
|
||||
post '/waiter/order_products' => 'waiter#order_products', as: :order_products_waiter
|
||||
namespace :waiter do
|
||||
resources :sections
|
||||
resources :suppliers
|
||||
resources :product_categories, only: %i[index]
|
||||
|
||||
root to: 'dashboard#index'
|
||||
get '/*rest' => redirect('/waiter') # Ember app refresh
|
||||
|
||||
Reference in New Issue
Block a user