[openstreetmap/openstreetmap-website] Language selection enhancements (PR #6412)
mmd
notifications at github.com
Mon Sep 22 20:57:55 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"
Good idea, I'm following the layers_panes pattern now.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6412#discussion_r2370289860
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6412/review/3255171692 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250922/fd9d41e6/attachment.htm>
More information about the rails-dev
mailing list