Waiter app progress

This commit is contained in:
2015-03-24 18:40:55 +01:00
parent 90a2a2087b
commit 792a31edfd
11 changed files with 72 additions and 22 deletions
+5 -3
View File
@@ -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