View GitHub Profile
|# -*- coding: utf-8 -*-\|
|The MIT License (MIT)|
|Copyright (c) 2015 Zalando SE|
|Permission is hereby granted, free of charge, to any person obtaining a copy|
|of this software and associated documentation files (the "Software"), to deal|
|in the Software without restriction, including without limitation the rights|
In order to setup Rails applications locales on a per request basis, we ought to get such information in a Restful way. That means to always include the desired locale in the URL in order to correctly share context among users through simple links.