25 Sep
2009
25 Sep
'09
20:11
* Josef Reidinger
def link_to - "/#{@controller}/#{@singular ? "show" : "index"}" + "/#{@controller}/#{action}"
^^^ This is root of actual problems. It is not true, that route is controller.
And after looking more closely, I wonder why the Resource model has a 'link_to' method anyways. ActionController::Base provides a 'url_for' method which was called with wrong parameters (passing a URL as controller instead of the controller path). Should be fixed now. Klaus --- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org