frontend view layout

This commit is contained in:
Min Zeya Phyo
2017-04-21 05:07:00 +06:30
parent e1e102fd15
commit db3b50a496
16 changed files with 795 additions and 18 deletions

View File

@@ -58,13 +58,16 @@ Rails.application.routes.draw do
end
#--------- Cashier ------------#
resources :origami, only: [:index, :show] do
resources :payment, only: [:create ] #add payment by payment_method
resources :discount, only: [:create ] #add discount type
namespace :origami do
root "home#index"
get "/:booking_id" => "home#show" do #origami/:booking_id will show
resources :payment, only: [:create ] #add payment by payment_method
resources :discount, only: [:create ] #add discount type
end
end
#--------- Waiter ------------#
namespace :waiter do
#zones
@@ -83,6 +86,7 @@ Rails.application.routes.draw do
#--------- Order Queue Station ------------#
namespace :oqs do
root "home#index"
#dashboard
#
end