I have an xmldocument
model, which I can show its profile in this way:
`public/xmldocument/4`
From this page, there are three links, which are:
add general information
add master information
add general information
each of them is for a resource. for example:
add general information is the create of the resource general_information
add master information is the create of the resource master_information
add general information is the create of the resource general_information
But each of them must know the xmldocument id. in my case, each of them should know that they are belongs to the xmldocument = 4
My question is should I route each of them to this link
`public/xmldocument/4/generalinformation/create` ?
or to this link
`public/generalinformation/create` ?
in the second case, I have to pass the xmldocument id, but can I really do that using the a
tag?