On Mon, Dec 6, 2010 at 10:48 AM, Tilen Majerle <[email protected]> wrote: > or like that....i just want to tell u, that u need to define $prefix :D
I think Jeremy may have been referring to the same way that we can use the pre-defined uuid, year, etc. in our routes (I'd post a link but, as usual, I can't find the correct page in the docs). The code block he mentions, using $prefix, appears to me to suggest that we can simply include $prefix in our own code. I think a better form would be something along the lines of "<PREFIX>" or similar, because the example isn't necessarily code that we will use but is explaining which routes that are configured for is behind the scenes, based on configured prefixes. Because the example shows a variable, $prefix, for clarity it should also show the control part of the loop (where $prefix is defined), not just the interior. Because it doesn't, it would be better to use something more abstract. Does that seem about right, Jeremy? Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" 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/cake-php?hl=en
