nice work;

I kind of went for defining what I needed in the routes

http://github.com/hookercookerman/merb-resource-scope/tree/master

cheers

Richard

On Nov 5, 3:22 am, "Martin Gamsjaeger" <[EMAIL PROTECTED]> wrote:
> Hey everyone,
>
> I just pushed a change 
> tohttp://github.com/snusnu/merb_resource_controller/tree/masterthat
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to