mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-25 01:23:26 +00: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?
|
return next(error) if error?
|
||||||
res.setContentDisposition(
|
res.setContentDisposition(
|
||||||
'attachment',
|
'attachment',
|
||||||
{filename: "ShareLaTeX Projects (#{project_ids.length} items).zip"}
|
{filename: "Overleaf Projects (#{project_ids.length} items).zip"}
|
||||||
)
|
)
|
||||||
res.contentType('application/zip')
|
res.contentType('application/zip')
|
||||||
stream.pipe(res)
|
stream.pipe(res)
|
||||||
|
|
|
@ -112,7 +112,7 @@ describe "ProjectDownloadsController", ->
|
||||||
@res.setContentDisposition
|
@res.setContentDisposition
|
||||||
.calledWith(
|
.calledWith(
|
||||||
'attachment',
|
'attachment',
|
||||||
{filename: "ShareLaTeX Projects (2 items).zip"})
|
{filename: "Overleaf Projects (2 items).zip"})
|
||||||
.should.equal true
|
.should.equal true
|
||||||
|
|
||||||
it "should record the action via Metrics", ->
|
it "should record the action via Metrics", ->
|
||||||
|
|
Loading…
Reference in a new issue