[openstreetmap/openstreetmap-website] Language selection enhancements (PR #6412)

mmd notifications at github.com
Tue Sep 23 19:58:25 UTC 2025


@mmd-osm commented on this pull request.



> @@ -0,0 +1,12 @@
+# frozen_string_literal: true
+
+class LanguagesController < ApplicationController
+  before_action :authorize_web
+  before_action :set_locale
+  authorize_resource :class => false
+
+  def show
+    @source_page = params[:source]
+    render :partial => "layouts/select_language_list_frame"

Done... I had to move some of the translations as well.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6412#discussion_r2373317902
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/6412/review/3259409662 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250923/12e4b483/attachment.htm>


More information about the rails-dev mailing list