mirror of
https://github.com/documize/community.git
synced 2025-08-02 20:15:26 +02:00
per space templates
This commit is contained in:
parent
574139ae21
commit
558d90d2ba
10 changed files with 73 additions and 36 deletions
|
@ -32,8 +32,8 @@ export default Ember.Service.extend({
|
|||
});
|
||||
},
|
||||
|
||||
getSavedTemplates() {
|
||||
return this.get('ajax').request(`templates`, {
|
||||
getSavedTemplates(folderId) {
|
||||
return this.get('ajax').request(`templates/${folderId}`, {
|
||||
method: 'GET'
|
||||
}).then((response) => {
|
||||
if (is.not.array(response)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue