Messages per Month
20 messages in com.googlegroups.pylons-discussRe: Trouble with Routes| From | Sent On | Attachments |
|---|---|---|
| Dan Korostelev | 24 Aug 2007 01:38 | |
| Marcin Kasperski | 24 Aug 2007 02:49 | |
| Dan Korostelev | 24 Aug 2007 02:56 | |
| Ben Bangert | 25 Aug 2007 09:42 | |
| Marcin Kasperski | 27 Aug 2007 02:27 | |
| Ben Bangert | 27 Aug 2007 08:35 | |
| Marcin Kasperski | 27 Aug 2007 09:20 | |
| Ben Bangert | 27 Aug 2007 10:00 | |
| Neil Blakey-Milner | 27 Aug 2007 10:42 | |
| Ben Bangert | 29 Aug 2007 10:11 | |
| Marcin Kasperski | 30 Aug 2007 03:44 | |
| Jose Galvez | 30 Aug 2007 18:07 | |
| Ben Bangert | 30 Aug 2007 18:13 | |
| Jose Galvez | 30 Aug 2007 20:07 | |
| Ben Bangert | 31 Aug 2007 09:00 | |
| Jose Galvez | 31 Aug 2007 13:02 | |
| Ben Bangert | 31 Aug 2007 13:31 | |
| Jose Galvez | 31 Aug 2007 14:25 | |
| Ben Bangert | 31 Aug 2007 15:13 | |
| Jose Galvez | 31 Aug 2007 16:43 |
| Subject: | Re: Trouble with Routes![]() |
|---|---|
| From: | Ben Bangert (ben-...@public.gmane.org) |
| Date: | 08/25/2007 09:42:36 AM |
| List: | com.googlegroups.pylons-discuss |
On Aug 24, 2007, at 2:56 AM, Dan Korostelev wrote:
Yeah, I also worked around the problem this way, but I don't like it. Looks like there's a bug in Routes. Thanks for information.
There's no bug in routes, this is exactly how it works, and how the docs indicate it works. From the docs (http://routes.groovie.org/ manual.html): "We saw earlier how the route name ties a set of defaults to a name. We can use this name with our Route functions and its as if we used that set of keyword args"
The route name does *not* mean that the route its at will actually be the path generated. It means that the default args you give for that route will be pulled in as if you had specified them in the url_for.
Cheers, Ben




