Skip to content

Commit

Permalink
Make sure we default to html and not geo_json
Browse files Browse the repository at this point in the history
  • Loading branch information
johnf committed Nov 19, 2024
1 parent 10401b8 commit 9105ca3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/controllers/collections_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -85,8 +87,6 @@ def show

render json:
end
format.html
format.xml
end
end

Expand Down

0 comments on commit 9105ca3

Please sign in to comment.