Hi all, can someone answer please where is a best place to keep custom methods? For example I have some connection:
Attachment.connection = connect(
[behaviors], {
Map: Attachment,
List: Attachment.List,
name: 'attachment',
url: BASE_URL,
..........
});
I have also method like getValidFormats (it is not a CRUD method), can I put into connection as well? Thanks.
route.data.set({type: 'page', id: 5}, true);
I mean the true
parameter here