Forum: Ruby on Rails urls within components

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
810bc55ccc5271c6b423c79c105c07bb?d=identicon&s=25 Misher (Guest)
on 2006-04-17 16:13
When rendering component from application
render_component ({contoller =>'component/controller', action =>
'SimpleAction'}, the call:
url_for ({controller => 'component/controller', action =>
from that component produces /component/controller/SimpleAction.
But if we go to that url, call:
url_for ({controller => 'component/controller', action =>
starts producing /component/component/controller/SimpleAction url...
(note /component/component/)
Is that right or may be it is a routing bug?
This topic is locked and can not be replied to.