Improving the Rails Route Generator Discussion
Discussion for
Improving the Rails Route Generator
Did you consider automatically generating the sentinel if a pre-existing namespace was used? That way the API of the route method can remain unchanged, but you still solve the issue of having duplicated namespace definitions.
Alternatively a route_namespace method that accepts a block might work to. Something like this:
route_namespace :madmin do
route …
route …
end