Skip to content

Commit

Permalink
Changed route when provider redirects to Dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
Sneha Tilak authored and Sneha Tilak committed Jul 9, 2017
1 parent e58ab4e commit 315a890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/libraries/CommonUtilities.php
Expand Up @@ -222,7 +222,7 @@ public static function create_nav_bar()
if ( (Session::has("admin") || Session::has("admin-read-only")) && !Session::has("gateway-provider") )
$navbar .= '<li class="' . $active . '"><a href="' . URL::to("/") . '/admin/dashboard"><span class="glyphicon glyphicon-user"></span>Admin Dashboard</a></li>';
else
$navbar .= '<li class="' . $active . '"><a href="' . URL::to("/") . '/account/dashboard"><span class="glyphicon glyphicon-user"></span>Dashboard</a></li>';
$navbar .= '<li class="' . $active . '"><a href="' . URL::to("/") . '/admin/dashboard"><span class="glyphicon glyphicon-user"></span>Dashboard</a></li>';

$navbar .= '<li class="dropdown' . (Session::get("nav-active") == 'user-menu' ? ' active' : '') . '">
Expand Down

0 comments on commit 315a890

Please sign in to comment.