07-13-2009, 06:51 AM
[eluser]Simon Phoenix[/eluser]
I'm sure this is an easy one but does anybody know a way to call a controller method from a view without specifing the entire url each time.
For example how can you use:
instead of:
I've tried leaving the domain name out but get an error message. Can you specify the domain name globally so you don't need to repeat it in every url?
I'm sure this is an easy one but does anybody know a way to call a controller method from a view without specifing the entire url each time.
For example how can you use:
Code:
<a href="controller/method/value">
instead of:
Code:
<a href="domain_name/controller/method/value">
I've tried leaving the domain name out but get an error message. Can you specify the domain name globally so you don't need to repeat it in every url?