I copy description from the commit because I think it describes the problem well:
If somebody uses namespaced controllers in their code rails will to
generate namespaced links. Let's say you have controller with full name
CompanyName::OfficesController and have views rendered in it. All URLs
generated for this plugin, for example from this code:
I copy description from the commit because I think it describes the problem well:
If somebody uses namespaced controllers in their code rails will to generate namespaced links. Let's say you have controller with full name CompanyName::OfficesController and have views rendered in it. All URLs generated for this plugin, for example from this code:
will have prefix _/companyname/, in this case:
which is wrong. To preven it you need to prefix all controller names with slashes or use named routes.
You can read more about namespaces and routing here: