Hey everyone,
I just pushed a change to
http://github.com/snusnu/merb_resource_controller/tree/master that
allows merb_resource_controller to handle nested resources (with at
most one parent resource) transparently. This allows for standard CRUD
controllers to look like
class Article < Application
controlling :articles
end
or
class Comment < Application
controlling :comments do |c|
c.belongs_to :article
end
end
I would be glad if someone out there finds this useful!
Any sort of feedback about how to make it better is highly appreciated!
cheers
snusnu
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---