Created
December 20, 2016 00:43
-
-
Save afucher/874d110f97706a075600e8da3eb74b1e 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
'use strict'; | |
import Vue from 'vue'; | |
export default { | |
getCourses() { | |
return Vue.resource('/courses').get(); | |
}, | |
putCourses(){ | |
return Vue.resource('/courses').put(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Valeu @fdaciuk! Juntei o que você falou com essa issue e deu certo! :)