Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Router::connect(
- '/:browse/:state/:region/:subregion/:neighborhood/:plan/floorplan/:plan_num',
- array('controller' => 'neighborhood_plan_images', 'action' => 'display'),
- array(
- 'pass' => array('neighborhood', 'plan', 'plan_num'),
- 'browse' => '(move-in-ready|find-my-home)',
- 'state' => '.+',
- 'region' => '.+',
- 'subregion' => '.+',
- 'neighborhood' => '.+',
- 'plan' => '.+',
- 'plan_num' => '.*',
- )
- );
- /**
- the above code is passing 'subregion', 'neighborhood', 'plan', and 'plan_num'
- instead of just 'neighborhood', 'plan', and 'plan_num' as specified.
- why?
- **/
Add Comment
Please, Sign In to add comment