How to pass locale parameter to Devise
In my site, the locale is determined by a query parameter that is appended to the URL (e.g. http://www.mysite.com/mypage?locale=en). I'm using devise with before_filter :authenticate_user! in my