Skip to content

Commit

Permalink
Remove confusing comment about correcting map preview URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewgarner committed Jun 25, 2018
1 parent 98883d4 commit 7b150cf
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/controllers/map_previews_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ def url_param
end

def correct_url(url)
# Some URLs are bad and need cleaning up such as
# http://lasigpublic.nerc-lancaster.ac.uk/ArcGIS/services/Biodiversity/GMFarmEvaluation/MapServer/WMSServer?request=GetCapabilities&service=WMS

uri = Addressable::URI.parse(url)

args = uri.query_values || {}
Expand Down

0 comments on commit 7b150cf

Please sign in to comment.