Skip to content

Commit

Permalink
Pass fileDownloadURL into template
Browse files Browse the repository at this point in the history
  • Loading branch information
mfraezz committed Mar 2, 2018
1 parent 638e950 commit af9f870
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/templates/preprints/provider/preprint-detail.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
{{t "content.orphan_preprint"}}
</div>
{{else}}
{{preprint-file-browser primaryFile=model.primaryFile preprint=model chooseFile=(action 'chooseFile')}}
{{preprint-file-browser primaryFile=model.primaryFile preprint=model fileDownloadURL=fileDownloadURL chooseFile=(action 'chooseFile')}}
<button class="expand-mfr-carrot hidden-xs hidden-sm" {{action 'expandMFR'}}>
<i class="fa fa-chevron-{{if fullScreenMFR 'left' 'right'}}"></i>
</button>
Expand Down

0 comments on commit af9f870

Please sign in to comment.