fixing cannot download input
diff --git a/app/routes.php b/app/routes.php
index c925610..c32dd48 100755
--- a/app/routes.php
+++ b/app/routes.php
@@ -93,6 +93,13 @@
. '/' . $exp_data_dir . "/" . $exp_folder . '/' . $exp_file;
return Response::download( $downloadLink);
});
+
+Route::get("download/{exp_data_dir}/{exp_file}", function($exp_data_dir, $exp_file){
+ $downloadLink = Config::get('pga_config.airavata')['experiment-data-absolute-path'] . '/' . Session::get('username')
+ . '/' . $exp_data_dir . '/' . $exp_file;
+ return Response::download( $downloadLink);
+});
+
/*
* Compute Resources Routes
*/