mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-27 18:13:48 +00:00
add specific page for download
This commit is contained in:
@@ -374,7 +374,7 @@ class ExportController extends Controller
|
||||
);
|
||||
unset($redirectParameters['_token']);
|
||||
|
||||
return $this->redirectToRoute('chill_main_export_generate',
|
||||
return $this->redirectToRoute('chill_main_export_download',
|
||||
$redirectParameters);
|
||||
}
|
||||
|
||||
@@ -410,4 +410,11 @@ class ExportController extends Controller
|
||||
|
||||
return $r;
|
||||
}
|
||||
|
||||
public function downloadResultAction(Request $request, $alias)
|
||||
{
|
||||
return $this->render("ChillMainBundle:Export:download.html.twig", [
|
||||
'alias' => $alias
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user