Kohana (and perhaps other framework) makes it easy to maintain a way to get you a route and resonate your URL, which is easy to maintain.
& lt; A href = "& lt ;? php echo url :: base (). Root :: Mill ('Contact');? & Gt;" & Gt; Contact & lt; / A & gt;
Is this view okay, or should I specify it in any variable, and then pass the variable?
thanks
You are not logic here It is perfectly acceptable.
Of course, if you create a variable in your controller, your visual code will be a bit cleaner, but it's actually IMHO exactly.
Comments
Post a Comment