mateomurphy/rails_locale_detection — pull request #5 by paolodona (2013-04-22 05:36:01+00:00)
Title: Use prepend_before_filter instead of append_before_filter

This change allows other filter to find the locale set correctly and use it (eg: for redirection).

this is useful when we cannot specify the order of the filters (eg: filters are loaded by gems)

In my particular case, I'm using resources controller (rc_rails), which adds a filter that doesn't find the locale set.

Paolo