#220 open
dogmatic69

[bug,rfc] params for custom routing

Reported by dogmatic69 | July 29th, 2010 @ 03:51 AM | in 0.9 beta

when you set up routing and pass params to the controller by default page:{n} does not work. to get it working you need to add

 $this->passedArgs['location'] = isset($this->params['location']) ? $this->params['location'] : null;

this is not very cool if you want to change the routes so what would be better is checking the routes that are loaded from the database, exploding the pass param and then auto setting the values to the passedArgs

$this->params['location'] should be somehow set into $this->passedArgs

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Please use this for the current version of Infinitas only, if you are using a older version of the Infinitas report bugs in that project.

Please submit bugs only as pending, and if its a feature request submit the ticket with the milestone "Feature Requests".

Shared Ticket Bins

People watching this ticket

Pages