From: Tom Hughes Date: Sun, 12 May 2013 23:53:12 +0000 (+0100) Subject: Cast the locale to a string X-Git-Tag: live~4965 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/b9f7f39140e942df4dc08d4167d3c07202628840?ds=sidebyside Cast the locale to a string --- diff --git a/app/views/site/_potlatch2.html.erb b/app/views/site/_potlatch2.html.erb index 54e02987b..f77f67f52 100644 --- a/app/views/site/_potlatch2.html.erb +++ b/app/views/site/_potlatch2.html.erb @@ -10,7 +10,7 @@ <% end %> -<% locale = select_locale(Potlatch2::LOCALES.keys) %> +<% locale = select_locale(Potlatch2::LOCALES.keys).to_s %>