[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
-
dogmatic69 February 14th, 2011 @ 12:38 AM
- Milestone changed from 0.8 alpha to 0.9 beta
- Milestone order changed from 44 to 0
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.
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".