Ive just started using map.resource, but im having a few problems
determining what is actually being generated. Anyone give me a quick
pointer on how to look into the data structs generated by routes?

Basically i've got this:

map.resource('user', 'users', controller='wusers')

And when i do this:

>>> h.url_for('user')
'/wusers/show'

it works as it's pointing to the right controller but if i do this

>>> h.url_for('users')
'/users'

it points to the 'users' controller rather than 'wusers'. Anyone have
any idea either what i'm doing wrong or how i can fix it?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to