expressa
expressa copied to clipboard
nested routes and relationship
Hi,
in the Admin interface how do i connected collections by relationship? for example i have POST and TAG collections, and in a post item i want to have a field/property named tags which is type array of ids that holds the ids from the TAG collection...?
thanks.
Hi Arye, I'm still working on making something like this easy to setup. You can look at how the users model currently has a list of the roles to see how you can set something up in the meantime with listeners, see the code here https://github.com/thomas4019/expressa/blob/master/listeners_users.js#L43.