You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sc...@apache.org on 2016/03/07 21:36:24 UTC

airavata-php-gateway git commit: fixing issue in last commit

Repository: airavata-php-gateway
Updated Branches:
  refs/heads/develop b231563b9 -> e1eca2971


fixing issue in last commit


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

Branch: refs/heads/develop
Commit: e1eca29714ba25b992d004144891c4d9ce698515
Parents: b231563
Author: scnakandala <su...@gmail.com>
Authored: Mon Mar 7 15:36:13 2016 -0500
Committer: scnakandala <su...@gmail.com>
Committed: Mon Mar 7 15:36:13 2016 -0500

----------------------------------------------------------------------
 app/routes.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/e1eca297/app/routes.php
----------------------------------------------------------------------
diff --git a/app/routes.php b/app/routes.php
index 46983b6..f91a454 100755
--- a/app/routes.php
+++ b/app/routes.php
@@ -103,9 +103,9 @@ Route::get("download/{exp_data_dir}/{proj_folder}/{exp_folder}/{exp_file}", func
     return Response::download( $downloadLink);
 });
 
-Route::get("download/{exp_data_dir}/{exp_file}", function($exp_data_dir, $exp_file){
+Route::get("download/{exp_data_dir}/{proj_folder}/{exp_file}", function($exp_data_dir, $proj_folder, $exp_file){
     $downloadLink = Config::get('pga_config.airavata')['experiment-data-absolute-path'] . '/' . Session::get('username')
-        . '/' . $exp_data_dir . '/' . $exp_file;
+        . '/' . $exp_data_dir . '/' . '/' . $proj_folder . '/' . $exp_file;
     return Response::download( $downloadLink);
 });