I wrote a new Routes manual but Ben is taking a long time to put it in
the package. :( I've got a copy on my website but the domain seems to
be down so I'll have to check my dyndns account when I get home from
pycon. (I'm traveling now.) But from memory, the new route syntax is
like this:
/{controller}/{action}
Leading slash now required, placeholders surrounded by {}. Wildcards
are done by a requirement .*; e.g.,
/{url:.*}
On Wed, Mar 18, 2009 at 10:25 PM, Jose Galvez <[email protected]> wrote:
> Can't seem to find them do you have the old URL? In any event, I still
> wonder if the Routes docs needs to be undated to reflect either the current
> practice, or maybe the pylons docs or both
> Jose
>
> Jonathan Vanasco wrote:
>
> You should look into the .95 -.96 upgrade instructions
>
> the changes for .96 - .97 mostly focused on some middleware setup and
> helpers
>
> On Mar 18, 2:07 pm, jose <[email protected]> wrote:
>
>
> Hi all,
> I'm in the process of upgrading a project from 0.95 to 0.97, and a lot
> has changed. One thing that is giving me some issue is the changes in
> routes since 0.95. I've noticed that the default routes created with
> a new project is different from before, but I can't find any
> documentation outlining what the differences are and or how I should
> be constructing my routes now. Specifically, I'm having trouble with
> routes that have wildcards in them. Any pointers on where to do some
> reading for how to write the new routes?
> Jose
>
>
>
>
> >
>
--
Mike Orr <[email protected]>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---