Urls within components

When rendering component from application
render_component ({contoller =>‘component/controller’, action =>
‘SimpleAction’}, the call:
url_for ({controller => ‘component/controller’, action =>
‘SimpleAction’})
from that component produces /component/controller/SimpleAction.
But if we go to that url, call:
url_for ({controller => ‘component/controller’, action =>
‘SimpleAction’})
starts producing /component/component/controller/SimpleAction url…
(note /component/component/)
Is that right or may be it is a routing bug?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs