api for cashier app

This commit is contained in:
phyusin
2018-10-12 15:18:23 +06:30
parent 549a655bad
commit 11b4bdc804
11 changed files with 258 additions and 27 deletions

View File

@@ -217,7 +217,7 @@ class HomeController < ApplicationController
# redirect_to origami_root_path
else
redirect_to new_origami_shift_path
end
end
elsif employee.role == "manager"
redirect_to dashboard_path
elsif employee.role == "waiter"