layout changes and section handling

This commit is contained in:
2012-09-02 14:23:17 +02:00
parent 50434c28cf
commit 0b56d07ed1
24 changed files with 390 additions and 283 deletions
+9 -2
View File
@@ -55,12 +55,19 @@ Qrammer::Application.routes.draw do
post '/user/check_table_join_status' => 'user#check_table_join_status'
match '/show_products' => 'dashboard#show_products', as: :user_products
#match '/show_products' => 'dashboard#show_products', as: :user_products
# DEVELOPMENT ONLY
match '/qr' => 'dashboard#qr'
match '/demo_both' => 'dashboard#demo_both'
namespace :suppliers, path: '/supplier' do
resources :sections
resources :sections do
member do
get :manage_tables
get :tables_view
end
end
resources :tables
resources :products
resources :product_categories