Skip to content
Permalink
Browse files
Changed route when provider redirects to Dashboard
  • Loading branch information
Sneha Tilak authored and Sneha Tilak committed Jul 9, 2017
1 parent e58ab4e commit 315a890748a5955f7d185f15eae0b6269a2ebe8b
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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' : '') . '">

0 comments on commit 315a890

Please sign in to comment.