Skip to content

Commit

Permalink
Remove downcase calls for method names
Browse files Browse the repository at this point in the history
  • Loading branch information
grkek committed Nov 5, 2022
1 parent 942546e commit a9d4c6f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion shard.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: grip
version: 2.0.0
version: 2.0.1

authors:
- Grip and its Contributors <https://github.com/grip-framework/>
Expand Down
2 changes: 1 addition & 1 deletion src/grip/routers/http.cr
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ module Grip
end

private def radix_path(method, path)
'/' + method.downcase + path
'/' + method + path
end

private def add_to_radix_tree(method, path, route)
Expand Down
2 changes: 1 addition & 1 deletion src/grip/routers/websocket.cr
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ module Grip
end

private def radix_path(method, path)
'/' + method.downcase + path
'/' + method + path
end

def websocket_upgrade_request?(context)
Expand Down

0 comments on commit a9d4c6f

Please sign in to comment.