Merge "Switched use of "Resource.read()" to "Resource.get()""

This commit is contained in:
Jenkins 2014-11-24 13:04:28 +00:00 committed by Gerrit Code Review
commit a9bc6c0478
3 changed files with 3 additions and 3 deletions

View File

@ -74,7 +74,7 @@ angular.module('sb.auth').factory('Session',
RefreshManager.tryRefresh().then(function () {
var id = AccessToken.getIdToken();
User.read({id: id},
User.get({id: id},
function (user) {
deferred.resolve(user);
}, function (error) {

View File

@ -88,7 +88,7 @@ angular.module('sb.projects').controller('ProjectDetailController',
* Load the project
*/
function loadProject() {
Project.read(
Project.get(
{'id': id},
function (result) {
// We've got a result, assign it to the view and unset our

View File

@ -48,7 +48,7 @@ angular.module('sb.services')
'create': {
method: 'POST'
},
'read': {
'get': {
method: 'GET',
cache: false
},