From 641caec3c663a04b23abe0eb37cc8bc4dd8d88dd Mon Sep 17 00:00:00 2001 From: Holger Jeromin Date: Tue, 11 Nov 2025 22:03:10 +0100 Subject: [PATCH] Append '.geojson' to download filename of direction This is for more broad Browser support in generated download name. related #6388 with discussion in #6519 --- app/views/directions/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/directions/show.html.erb b/app/views/directions/show.html.erb index 176ddc34c..f5712012b 100644 --- a/app/views/directions/show.html.erb +++ b/app/views/directions/show.html.erb @@ -65,7 +65,7 @@

- <%= tag.a t(".download"), :id => "directions_route_download", :download => t(".filename") %> + <%= tag.a t(".download"), :id => "directions_route_download", :download => "#{t('.filename')}.geojson" %>

-- 2.39.5