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

[05/21] airavata-php-gateway git commit: fixing file download link issue

fixing file download link issue


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

Branch: refs/heads/master
Commit: 4e8572398ad95fa85c6d238372ea4d15887ebb9e
Parents: be5c898
Author: scnakandala <su...@gmail.com>
Authored: Mon Mar 7 14:59:31 2016 -0500
Committer: scnakandala <su...@gmail.com>
Committed: Mon Mar 7 14:59:31 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/4e857239/app/routes.php
----------------------------------------------------------------------
diff --git a/app/routes.php b/app/routes.php
index b419c61..46983b6 100755
--- a/app/routes.php
+++ b/app/routes.php
@@ -97,9 +97,9 @@ Route::get("experiment/browse", "ExperimentController@browseView");
 
 Route::post("experiment/browse", "ExperimentController@browseView");
 
-Route::get("download/{exp_data_dir}/{exp_folder}/{exp_file}", function($exp_data_dir, $exp_folder, $exp_file){
+Route::get("download/{exp_data_dir}/{proj_folder}/{exp_folder}/{exp_file}", function($exp_data_dir, $proj_folder, $exp_folder, $exp_file){
     $downloadLink = Config::get('pga_config.airavata')['experiment-data-absolute-path'] . '/' . Session::get('username')
-        . '/' . $exp_data_dir . "/" . $exp_folder . '/' . $exp_file;
+        . '/' . $exp_data_dir . "/" . $proj_folder . "/" . $exp_folder . '/' . $exp_file;
     return Response::download( $downloadLink);
 });