Skip to content

Commit c081c2b

Browse files
committed
Add filetype to get request
1 parent baf4c84 commit c081c2b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spec/system/map_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def cell(name, model, options = {}, &)
202202

203203
Rails.application.routes.draw do
204204
# Map tiles
205-
get "tiles/:z/:x/:y", to: ->(_) { [200, {}, [tile_content]] }
205+
get "tiles/:z/:x/:y.png", to: ->(_) { [200, {}, [tile_content]] }
206206

207207
# The actual editor testing route for these specs
208208
get "test_map", to: ->(_) { [200, {}, [final_html]] }

0 commit comments

Comments
 (0)