summaryrefslogtreecommitdiff
path: root/app/Core/Http/Response.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Core/Http/Response.php')
-rw-r--r--app/Core/Http/Response.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Core/Http/Response.php b/app/Core/Http/Response.php
index fd67ec95..1c5310d0 100644
--- a/app/Core/Http/Response.php
+++ b/app/Core/Http/Response.php
@@ -172,7 +172,7 @@ class Response extends Base
* @param string $filename
* @return $this
*/
- public function withDownload($filename)
+ public function withFileDownload($filename)
{
$this->withHeader('Content-Disposition', 'attachment; filename="'.$filename.'"');
$this->withHeader('Content-Transfer-Encoding', 'binary');