diff --git a/app/controllers/home_controller.rb b/app/controllers/home_controller.rb index ead69f39..54534c4f 100644 --- a/app/controllers/home_controller.rb +++ b/app/controllers/home_controller.rb @@ -58,14 +58,7 @@ class HomeController < ApplicationController end def dashboard - # if @employee && @employee.role == "cashier" - # - # elsif @employee && @employee.role == "waiter" - # elsif @employee && @employee.role == "administrator" - # elsif @employee && @employee.role == "manager" - # elsif @employee && @employee.role == "supervisour" - # redirect_to dashboard_path - # end + @shop = Shop.first end def destroy diff --git a/app/views/home/dashboard.html.erb b/app/views/home/dashboard.html.erb index c211b8e6..0883cc92 100644 --- a/app/views/home/dashboard.html.erb +++ b/app/views/home/dashboard.html.erb @@ -1,18 +1,3 @@ -