Mario Colque
11 years ago
4 changed files with 46 additions and 3 deletions
@ -1,5 +1,5 @@ |
|||||
'use strict'; |
'use strict'; |
||||
|
|
||||
angular.module('mystery.blocks').factory('Blocks', ['$resource', function($resource) { |
angular.module('mystery.blocks').factory('Blocks', ['$resource', function($resource) { |
||||
return $resource; |
return $resource('/api/blocks'); |
||||
}]); |
}]); |
||||
|
Loading…
Reference in new issue