]> git.openstreetmap.org Git - rails.git/commitdiff
Fixed bug when requested missing changeset
authorNenad Vujicic <nenadus@gmail.com>
Mon, 2 Sep 2024 13:20:07 +0000 (15:20 +0200)
committerNenad Vujicic <nenadus@gmail.com>
Mon, 2 Sep 2024 13:42:52 +0000 (15:42 +0200)
Fixes #5148. Added forgotten @type = "changeset" in ChangesetsController#show.

app/controllers/changesets_controller.rb

index ba04b9a1771a5fa5501f2b3359140c221952a67d..2c50ff905868951487e9864daee1f554d459c3a0 100644 (file)
@@ -75,6 +75,7 @@ class ChangesetsController < ApplicationController
   end
 
   def show
   end
 
   def show
+    @type = "changeset"
     @changeset = Changeset.find(params[:id])
     case turbo_frame_request_id
     when "changeset_nodes"
     @changeset = Changeset.find(params[:id])
     case turbo_frame_request_id
     when "changeset_nodes"