Open GoogleCodeExporter opened 9 years ago
This is not implemented, and not sure this is the best implementation (or
expected).
In other words, Rails features should be approached with a grain of salt.
The reason, is, maybe I just want to generate a standard route.
Instead, I was thinking of implementing a named route system, for instance:
name("join").route("/join").to(PersonController.class).action("join");
now, that this route has a name, I could do this:
<@link_to name="join">Join!</@>
Ideas?
Original comment by ipolevoy@gmail.com
on 29 May 2012 at 7:56
Named routes would work too. As long as all the routing goo is contained to the
routeconfig file, and not in templates, then I'll be satisfied =)
Original comment by evan.leo...@gmail.com
on 29 May 2012 at 2:06
Original issue reported on code.google.com by
evan.leo...@gmail.com
on 28 May 2012 at 8:43