Changed route when provider redirects to Dashboard

Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/315a8907
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/315a8907
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/315a8907

Branch: refs/heads/dreg-gateway
Commit: 315a890748a5955f7d185f15eae0b6269a2ebe8b
Parents: e58ab4e
Author: Sneha Tilak <tilaks@Snehas-MacBook-Pro.local>
Authored: Sun Jul 9 02:05:08 2017 -0400
Committer: Sneha Tilak <tilaks@Snehas-MacBook-Pro.local>
Committed: Sun Jul 9 02:05:08 2017 -0400

----------------------------------------------------------------------
 app/libraries/CommonUtilities.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/315a8907/app/libraries/CommonUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/CommonUtilities.php 
b/app/libraries/CommonUtilities.php
index d8eae6c..0d1aca2 100644
--- a/app/libraries/CommonUtilities.php
+++ b/app/libraries/CommonUtilities.php
@@ -222,7 +222,7 @@ class CommonUtilities
             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' : '') . '">
 

Reply via email to