katalyst / koi

Administration tools for Rails applications
https://github.com/katalyst/koi
MIT License
9 stars 4 forks source link

Fix - Content and Navigation engine namespaced to admin #535

Closed AlanCornthwaiteKatalyst closed 1 year ago

AlanCornthwaiteKatalyst commented 1 year ago

mounting the engines causes the "engine_name" to be prefixed with the namespace. So katalyst_content.root_path would resolve to admin_katalyst_content.root_path. This causes issues as internally in the engines they refer to katalyst_content etc.

Moving the mount into a scope so it only affects the route not the helper generator