Re: trouble with routes

2008-01-14 Thread b logica
On Jan 14, 2008 4:30 PM, Chris Hartjes <[EMAIL PROTECTED]> wrote: > > > On Jan 14, 2008 4:22 PM, b logica <[EMAIL PROTECTED]> wrote: > > > > Here's one: > > > > http://bakery.cakephp.org/articles/view/taking-advantage-of-the-pages-controller > > > > -- snip -- > > Route placement > > Just for ref

Re: trouble with routes

2008-01-14 Thread Chris Hartjes
On Jan 14, 2008 4:22 PM, b logica <[EMAIL PROTECTED]> wrote: > > Here's one: > > http://bakery.cakephp.org/articles/view/taking-advantage-of-the-pages-controller > > -- snip -- > Route placement > Just for reference, you should place the /* route LAST in your routes file > or it will override all

Re: trouble with routes

2008-01-14 Thread b logica
On Jan 14, 2008 3:59 PM, Chris Hartjes <[EMAIL PROTECTED]> wrote: > > On Jan 14, 2008 3:53 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> > wrote: > > I was under the impression that putting a route last would act as a > > default and that the particular one I mentioned *must* be last or it > > will ov

Re: trouble with routes

2008-01-14 Thread Chris Hartjes
On Jan 14, 2008 3:53 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I was under the impression that putting a route last would act as a > default and that the particular one I mentioned *must* be last or it > will override all others. It appears to me that the opposite is in > fact happening.

trouble with routes

2008-01-14 Thread [EMAIL PROTECTED]
CakePHP 1.2.0.6311-beta, Apache 2.2.6, PHP 5.2.4 I had routing working pretty well but then started adding some static pages. These are all linked to under the "/about" path and so i placed the files under /app/views/pages/about/. In order to get Cake to display these i have a route like: Router