Created
March 13, 2017 20:49
-
-
Save ChadTaljaardt/cba87b5340fd34672e58bcdf9dbde7b0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
download($item) { | |
axios.get('/api/message/shares/download/' + this.$route.params.id + '/' + $item['file']) | |
.then(response => { | |
alert(response.data); | |
}).catch(e => { | |
console.log(e); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment