I have two links:
http://www.mypage.com/phone/show/id/1
and:
http://www.mypage.com/phone/show/id/2
I would like makes links for this
http://www.mypage.com/linksone
and
http://www.mypage.com/linkstwo
Is it possible to do that with Symfony routing system?
linksone:
url: /linksone
param: { module: phone, action: show}
linkstwo:
url: /linkstwo
param: { module: phone, action: show}
Where I can add ID?
I believe this should do it:
linksone:
url: /linksone
param: { module: phone, action: show, id: 1}
linkstwo:
url: /linkstwo
param: { module: phone, action: show, id: 2}