blob: 1ea48e0bbce0324ce8a7a4b09a49ee196911744b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/**
* ownCloud - News
*
* This file is licensed under the Affero General Public License version 3 or
* later. See the COPYING file.
*
* @author Bernhard Posselt <dev@bernhard-posselt.com>
* @copyright Bernhard Posselt 2014
*/
app.factory('FolderResource', (Resource, $http, BASE_URL) => {
'use strict';
class FolderResource extends Resource {
constructor ($http, BASE_URL) {
super($http, BASE_URL, 'name');
}
}
return new FolderResource($http, BASE_URL);
});
|