gregbell/active_admin — pull request #1482 by jpmckinney (2012-07-06 18:13:51+00:00)
Title: Breadcrumb helper assumes that parts of the path match class names

If you translate your routes, the BreadcrumbHelper will fail to determine the class of the object(s) rendered on the page and `display_name` will not be called, leaving an object ID in the breadcrumb.

This patch fixes that by not relying on the path as much, using some (probably valid?) assumptions about what the path looks like.