From 9105ca384d39d2f0004d9f90be92ceec7fe33c73 Mon Sep 17 00:00:00 2001 From: John Ferlito Date: Tue, 19 Nov 2024 13:59:11 +1000 Subject: [PATCH] Make sure we default to html and not geo_json --- app/controllers/collections_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/collections_controller.rb b/app/controllers/collections_controller.rb index 823e0010..0c6255d2 100644 --- a/app/controllers/collections_controller.rb +++ b/app/controllers/collections_controller.rb @@ -60,6 +60,8 @@ def show rights = @collection.access_condition.name if @collection.access_condition respond_to do |format| + format.html + format.xml format.geo_json do json = { type: 'FeatureCollection', @@ -85,8 +87,6 @@ def show render json: end - format.html - format.xml end end