mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #964 from sharelatex/csh-issue-963-MultipleProjectDownloads
Replace ShareLaTeX with Overleaf in name of multiple project download file
This commit is contained in:
commit
89ba3912c0
2 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ module.exports = ProjectDownloadsController =
|
|||
return next(error) if error?
|
||||
res.setContentDisposition(
|
||||
'attachment',
|
||||
{filename: "ShareLaTeX Projects (#{project_ids.length} items).zip"}
|
||||
{filename: "Overleaf Projects (#{project_ids.length} items).zip"}
|
||||
)
|
||||
res.contentType('application/zip')
|
||||
stream.pipe(res)
|
||||
|
|
|
@ -112,7 +112,7 @@ describe "ProjectDownloadsController", ->
|
|||
@res.setContentDisposition
|
||||
.calledWith(
|
||||
'attachment',
|
||||
{filename: "ShareLaTeX Projects (2 items).zip"})
|
||||
{filename: "Overleaf Projects (2 items).zip"})
|
||||
.should.equal true
|
||||
|
||||
it "should record the action via Metrics", ->
|
||||
|
|
Loading…
Reference in a new issue