R() in controllers
Paul van Tilburg
paul at luon.net
Tue Nov 28 12:28:36 EST 2006
Hello all,
I have an app mounted under /test via lighttpd fastcgi as indicated on
[1]. Here I use R(Foo, bar) in views to link to controller foo, this correctly
creates a /test/foo/bar link. However, when I use R() in some controller,
for example:
headers['Refresh'] = "60; url=#{R(Foo, bar)}"
The generated link is /foo/bar, which obviously links to something
non-existant. Can somebody affirm that R() in controllers do not
work correctly?
Regards,
Paul
--
Student @ Eindhoven | email: paul at luon.net
University of Technology, The Netherlands | JID: paul at luon.net
>>> Using the Power of Debian GNU/Linux <<< | GnuPG key ID: 0x50064181
More information about the Camping-list
mailing list