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

Tom Hughes notifications at github.com
Tue Sep 23 18:32:12 UTC 2025


@tomhughes 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"

The `select_language_list` partial should move as well as `languages/show` is the only thing that uses it.

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

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


More information about the rails-dev mailing list