rails/rails — pull request #7422 by ernie (2012-08-22 14:33:21+00:00)
Title: Allow routing concerns to accept a callable

This allows us to make alterations to the generated routes based on the
scope of the current mapper, and otherwise allows us to move larger
blocks of concerns out of the routes file, altogether.

I'm not really convinced of the whole concerns idea, but it seems at least that if we implement it, we should have it allow for separation of concerns.

This seems in keeping with @dhh's perceived benefit of reducing noise in the routes.rb file, while enhancing the already existing functionality.