[symfony-users] Re: routing creates variable value true when no trailing slash

2010-04-27 Thread Tofuwarrior
Hi Gareth, All makes sense - bit surprised retrieveByPk doesn't do this which is I guess where my question came from. Appreciate you taking the time to share your experience and approach. Thanks, Paul On Apr 23, 7:10 pm, Gareth McCumskey gmccums...@gmail.com wrote: My simple guess is that

[symfony-users] Re: routing creates variable value true when no trailing slash

2010-04-23 Thread Tofuwarrior
Hi gareth, Thanks for replying (again!) I understand about the difference between == and === and that that must be what is causing retrieveByPK to return this but what I don't get is why id is being set to true when there is no value being passed in the url so I guess my question is about

Re: [symfony-users] Re: routing creates variable value true when no trailing slash

2010-04-23 Thread Gareth McCumskey
My simple guess is that module/action/id tells symfony that id is a parameter with its own value defaulted to false (kinda just to show it exists) whereas module/action/id/ tell symfony that id is a parameter and there is a value of for it (because nothing follows the trailing slash. In short,