Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

[bug,rfc] params for custom routing

#220

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

Reported by dogmatic69 · July 29th, 2010 @ 03:51 AM

State: open
Milestone: 0.9 beta
Assigned to: dogmatic69 dogmatic69

Activity

  1. dogmatic69
    dogmatic69
    • Milestone changed from 0.8 alpha to 0.9 beta
    • Milestone order changed from 44 to 0

    February 14th, 2011 @ 12:38 AM

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.