1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-17 19:51:42 +00:00

snippet.detail added

This commit is contained in:
Rokt33r
2015-05-28 15:43:03 +09:00
parent bf560c207d
commit 56175ecca5
9 changed files with 89 additions and 7 deletions

View File

@@ -16,8 +16,15 @@ angular.module('codexen.services')
return $http.post(url, params)
}
var show = function (id) {
var url = apiUrl + 'snippets/' + id
return $http.get(url)
}
return {
findByUser: findByUser,
create: create
create: create,
show: show
}
})