Hi all,

I am working on a project where I have a customer and a project model/
controller setup hobo-style.

The relations are so that a company has many projects, and a project
belongs to a company.

This means that I get the routes /companies and /projects 'for free'.

However, I want to access projects via the url like this:

* List of projects for a given company:
    /companies/1-ACME/projects
* Project details for a given company:
    /companies/1-ACME/projects/1-Mickey Mouse - SteamBoat Willie 2

Hobo already have auto_actions_for, but it seems to be limited to :new
and :create.

Does anybody have a suggestion on what would be the best way to
approach this?

Regards,
Ronny

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" 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/hobousers?hl=en.

Reply via email to