client/app/gallery/gallery_controller.js
changeset 1 74bbdd739878
parent 0 cef349423167
child 3 18a4c598ddee
--- a/client/app/gallery/gallery_controller.js	Wed Jun 11 01:26:59 2014 +0200
+++ b/client/app/gallery/gallery_controller.js	Thu Oct 02 13:24:57 2014 +0200
@@ -10,13 +10,7 @@
         });
     })
     .service('galleryApi', function($resource, context) {
-      this.gallery = $resource(context.urls.galleryUrl,
-        {
-          get: {
-            method: 'GET',
-            isArray: false
-          }
-        });
+      this.gallery = $resource(context.urls.galleryUrl);
     })
     .service('galleryModel', function(galleryApi, context) {
       console.log('4', context.gallery);