Merge branch 'adminbsb_material_ui' of bitbucket.org:code2lab/sxrestaurant

This commit is contained in:
Yan
2017-11-22 18:40:38 +06:30
11 changed files with 73 additions and 35 deletions

View File

@@ -45,7 +45,7 @@ class HomeController < ApplicationController
elsif @employee.role == "manager"
session[:session_token] = @employee.token_session
redirect_to dashboard_path
elsif @employee.role == "supervisour"
elsif @employee.role == "supervisor"
session[:session_token] = @employee.token_session
redirect_to origami_root_path
elsif @employee.role == "account"
@@ -151,7 +151,7 @@ class HomeController < ApplicationController
redirect_to oqs_root_path
elsif employee.role == "crm"
redirect_to crm_root_path
elsif @employee.role == "supervisour"
elsif @employee.role == "supervisor"
redirect_to origami_root_path
elsif @employee.role == "account"
redirect_to reports_dailysale_index_path