Implement custom url helpers and polymorphic mapping by pixeltrix · Pull Request #23138 · rails/rails

Implement the features outlined in #22512. Add support for defining custom url helpers in routes.rb Add support for defining custom polymorphic mappings in routes.rb