/ Published in: Rails
Bei Rails (zumindest 3) kann man aus dem controller über view_context auf den Kontext der View zugreifen und so zB viewhelper aufrufen. Zum Beispiel:
Expand |
Embed | Plain Text
view_context.link_to "hallo", hallo_path()
You need to login to post a comment.
