Is there a way to dynamically generate a link using the link-to helper by passing a variable with the route path?
For example, instead of hard coding the path like t
There is another very similar SO Question in which I answer this question. The solution is possible using the inline version of the link-to helper.
In this situation, we would have:
{{link-to model.title destination model}}
Which would be compiled to:
Click me