how to add parameters in the url_for() function? I mean, I have this route:
category_set_representative_image:
url: /categoria-settare-immaggine-rappresentativa/:id
param: { module: category_new, action: setRepresentativeImage }
class: sfPropelRoute
options: { model: Category, type: object }
I want to generate the url through url_for('category_set_representative_image', $category)
, but how to add besides the parameter ":id" (the id of the image that will be representative of the category)?
sf 1.4
Javi