airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sma...@apache.org
Subject [08/21] airavata-php-gateway git commit: fixing issue in last commit
Date Fri, 11 Mar 2016 07:00:24 GMT
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/master
Commit: e1eca29714ba25b992d004144891c4d9ce698515
Parents: b231563
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Mon Mar 7 15:36:13 2016 -0500
Committer: scnakandala <supun.nakandala@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);
 });
 


Mime
View raw message