This is a small thing, motivated by #9419
In the scenario in Agile Web Development with Rails, I ask the reader to add an as: 'store' to the root line in config/routes. The problem is that root as currently defined only accepts one parameter. I can suggest that they add to: to the front, but that's not easily discoverable. A better solution would be to accept both a path and an option string and to combine them.
Allow both a path and an option on root in config/routes
@guilleiguaran Are you sure this doesn't need tests?
@frodsan yes, missed it 😁, do you want to go ahead and add test for this? 😁
Add tests for #9441
For completeness, should this have a CHANGELOG entry? :-)