francesc/rails-translate-routes — pull request #46 by remiprev (2013-10-01 12:38:57+00:00)
Title: Constantize class names before we use them

The items in `ROUTE_HELPER_CONTAINER` were constants from different Rails components and if we try to use the gem in a Rails project without all of those components (eg. without `ActionMailer`), it would break.

This pull request makes sure the constants we use exist before we try to inject code in them.