google-code-export / activeweb

Automatically exported from code.google.com/p/activeweb
0 stars 0 forks source link

Can't specify controller in link_to tag #87

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. Create controller : app.pack1.HelloController
2. There is no way to specify controller name in link_to tag

I have tried different ways but no one is working:
1. <@link_to controller="hello"...
2. <@link_to controller="pack1.hello"...
3. <@link_to controller="pack1/hello"...

Original issue reported on code.google.com by broken...@gmail.com on 2 Mar 2012 at 2:20

GoogleCodeExporter commented 9 years ago
this is really a path to controller, not a controller, please read this:
http://code.google.com/p/activeweb/wiki/Views#link_to_tag_and_unobtrusibe_JavaSc
ript

you need to write something like:
<@link_to controller="/pack1/hello"...

Original comment by ipolevoy@gmail.com on 12 Mar 2012 at 8:18