Displaying 1 result from an estimated 1 matches for "talker_types".
Did you mean:
talker_type
2007 Aug 03
1
Nested Resources vs. Normal Resources
...ources still be represented in the
normal resource way?
I have a resource (talker) that belongs_to a number of other models
(network, data_date, talker_type etc) in a many to one relationship
and I''d like to be able to have something like:
/networks/1/talkers/10
/data_dates/1/talkers/10
/talker_types/1/talkers/10
but also
/talkers/10
Is it possible to do this? or do I need to rename each of the nested
parts of the url to something like network_talkers etc. so that it
would be:
/networks/1/network_talkers/10
?
Thanks,
Toby
--~--~---------~--~----~------------~-------~--~----~
You receive...