I have this route: category_listing_pag: url: /:slug/:num_products_page/:page.html class: sfDoctrineRoute param: { module: listing, action: category } options: { model: Category, type: object }
And I'm trying to display this link: <?php echo link_to('Previous', 'category_listing_pag', $category, array('query_string' => "num_products_page= $num_products_page&page=page{$pager->getPreviousPage()}", 'class' => 'pagelink_prev')) ?> Then I get this error: 500 | Internal Server Error | InvalidArgumentException The "/:slug/:num_products_page/:page.html" route has some missing mandatory parameters (:num_products_page, :page). So, I suppose link_to2 is not processing the query_string option. Would this be a bug? Or am I using it wrong? -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.