diff --git a/app/controllers/home_controller.rb b/app/controllers/home_controller.rb index 4f161fb4..846640f3 100755 --- a/app/controllers/home_controller.rb +++ b/app/controllers/home_controller.rb @@ -27,7 +27,7 @@ private crm_root_path elsif current_user.role == "account" reports_dailysale_index_path - elsif @current_user.role == "kitchen" + elsif current_user.role == "kitchen" oqs_root_path else login_path