Displaying 1 result from an estimated 1 matches for "cat_receipes".
2006 Dec 15
1
How can I have two controllers use the same 'category' model if they aren't related?
...ds but how would
it know to list only the categories for food or receipes? Because I''d
like to have an interface using resources to do basic CRUD operations
on categories.
The only way I came up with would be to have a different category for
both foods and receipes - /cat_foods/1/foods, /cat_receipes/1/recipes,
but that looks really ugly and I''m sure there''s an easier way I''m not
getting.
Thanks for any help!
Rob
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk&...