You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by nd...@apache.org on 2016/02/16 17:37:58 UTC

[1/2] airavata-php-gateway git commit: Providing alternate routes to normal users to access dashboard since AdminController is only accessible to Admins.

Repository: airavata-php-gateway
Updated Branches:
  refs/heads/master 69dcdd1a1 -> 98760bc34


Providing alternate routes to normal users to access dashboard since AdminController is only accessible to Admins.


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/690a2043
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/690a2043
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/690a2043

Branch: refs/heads/master
Commit: 690a2043222d558cf47d85ad417566b5525d379a
Parents: bac3b46
Author: Nipurn Doshi <ni...@gmail.com>
Authored: Tue Feb 16 11:32:31 2016 -0500
Committer: Nipurn Doshi <ni...@gmail.com>
Committed: Tue Feb 16 11:32:31 2016 -0500

----------------------------------------------------------------------
 app/controllers/AccountController.php | 5 ++++-
 app/routes.php                        | 2 ++
 2 files changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/690a2043/app/controllers/AccountController.php
----------------------------------------------------------------------
diff --git a/app/controllers/AccountController.php b/app/controllers/AccountController.php
index b43bf29..d1592f4 100755
--- a/app/controllers/AccountController.php
+++ b/app/controllers/AccountController.php
@@ -230,7 +230,7 @@ class AccountController extends BaseController
             return View::make('home');
         }
 
-        return Redirect::to("admin/dashboard");
+        return Redirect::to("account/dashboard");
     }
 
     public function forgotPassword()
@@ -425,4 +425,7 @@ class AccountController extends BaseController
         return Redirect::to('home');
     }
 
+    public function dashboard(){
+        return View::make("account/dashboard");
+    }
 }

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/690a2043/app/routes.php
----------------------------------------------------------------------
diff --git a/app/routes.php b/app/routes.php
index 2d0468e..4a6b6ee 100755
--- a/app/routes.php
+++ b/app/routes.php
@@ -22,6 +22,8 @@ Route::get("login", "AccountController@loginView");
 
 Route::post("login", "AccountController@loginSubmit");
 
+Route::get("account/dashboard", "AccountController@dashboard");
+
 //Route::get("callback-url", "AccountController@oauthCallback");
 
 Route::get("logout", "AccountController@logout");


[2/2] airavata-php-gateway git commit: Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/airavata-php-gateway

Posted by nd...@apache.org.
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/airavata-php-gateway


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/98760bc3
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/98760bc3
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/98760bc3

Branch: refs/heads/master
Commit: 98760bc345b3accacd78882dcb7f1292a2abe39e
Parents: 690a204 69dcdd1
Author: Nipurn Doshi <ni...@gmail.com>
Authored: Tue Feb 16 11:37:44 2016 -0500
Committer: Nipurn Doshi <ni...@gmail.com>
Committed: Tue Feb 16 11:37:44 2016 -0500

----------------------------------------------------------------------
 app/views/admin/manage-gateway.blade.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------