From dde02a4fb696f6bba677014736f2bc823460877b Mon Sep 17 00:00:00 2001 From: Topsitemakers Date: Tue, 18 Mar 2014 17:35:55 +0100 Subject: [PATCH] removing the dashboard link from breadcrumbs --- app/routes.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/routes.php b/app/routes.php index 09ccac4718..5253ce58f1 100755 --- a/app/routes.php +++ b/app/routes.php @@ -167,12 +167,6 @@ HTML::macro('breadcrumbs', function() { // Get the breadcrumbs by exploding the current path. $crumbs = explode('/', str_replace(Utils::basePath(), '', $_SERVER['REQUEST_URI'])); - // Include the link to Dashboard by default only if the user is not on the - // dashboard page. - if (!Request::is('dashboard')) { - $str .= '
  • ' . link_to('dashboard', 'Dashboard') . '
  • '; - } - foreach ($crumbs as $key => $val) { if (is_numeric($val))