Olivier Sirven wrote:

(...)

I have tried to add the "reset" parameter to true but then I don't have any parameter at all, just "/":
echo $this->url(array('key1' => 'newvalue'), 'root', true);

Is it a bug or a feature?

It's more a bug than a feature. Fixed with commit 4715. Good catch, thanks :)

If this is a feature, is there a way to assemble a wildcard route without taking into account the current parameters?

There is another way to reset parameters. You can leave $reset as false but pass 'var' => null to assemble if you wish to reset specific url variables only.

--
Martel Valgoerad aka Michal Minicki | [EMAIL PROTECTED] | 
http://aie.pl/martel.asc
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
"Idleness is not doing nothing. Idleness is being free to do anything." --
Floyd Dell

Reply via email to