diff options
author | Mark Longair <mhl@pobox.com> | 2013-08-29 14:50:02 +0100 |
---|---|---|
committer | Mark Longair <mhl@pobox.com> | 2013-09-10 15:00:05 +0100 |
commit | 9692b2069aa32e5663412c714a98192ac5d6e754 (patch) | |
tree | 348899a752738694aaccb4fa4c9f8d11c4ff6c0c /script/rails-post-deploy | |
parent | 3fb80a12652792df9da06c22b4bb944ab80bf376 (diff) |
Fix locales used to find public bodies in AdminPublicBodyController
The locale returned from locale_from_params may be dash-separated,
(the I18n module convention) whereas those in the
public_body_translations table are underscore-separated. The
AdminPublicBodyController was looking for dash-separated locales in
that table, so ensure that dashes are substituted for underscores
before using them in a query.
Diffstat (limited to 'script/rails-post-deploy')
0 files changed, 0 insertions, 0 deletions