We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3154984 commit 88addd0Copy full SHA for 88addd0
app.rb
@@ -34,7 +34,7 @@
34
send_file File.join(settings.public_folder, "index.html")
35
end
36
37
-post "/games" do
+post "/games/?" do
38
data = parse_body
39
40
# Remove all the old games.
@@ -46,15 +46,15 @@
46
json(game)
47
48
49
-get "/games/{id}" do
+get "/games/{id}/?" do
50
51
52
game = Game.find(data["id"])
53
54
55
56
57
-post "/games/{id}/flag" do
+post "/games/{id}/flag/?" do
58
59
60
@@ -66,7 +66,7 @@
66
67
68
69
-post "/games/{id}/check" do
+post "/games/{id}/check/?" do
70
71
72
0 commit comments