Calling a controller method from a view |
[eluser]developer10[/eluser]
[quote author="Simon Phoenix" date="1247507483"]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?[/quote] seems like you should define your base path (http://yourdomain.com) or something like that |
Messages In This Thread |
Calling a controller method from a view - by El Forum - 07-13-2009, 06:51 AM
Calling a controller method from a view - by El Forum - 07-13-2009, 07:16 AM
Calling a controller method from a view - by El Forum - 07-13-2009, 07:41 AM
Calling a controller method from a view - by El Forum - 07-13-2009, 07:52 AM
Calling a controller method from a view - by El Forum - 07-13-2009, 08:12 AM
Calling a controller method from a view - by El Forum - 07-13-2009, 08:16 AM
|