Skip to content

Commit

Permalink
spider-gazelle adds lazy parsing of params (#338)
Browse files Browse the repository at this point in the history
for performance
  • Loading branch information
stakach authored and waghanza committed Sep 4, 2018
1 parent b5c08af commit f23cbc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crystal/spider-gazelle/shard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 1.0.0
dependencies:
action-controller:
github: spider-gazelle/action-controller
version: ~> 1.1.2
version: ~> 1.1.3

targets:
app:
Expand Down
2 changes: 1 addition & 1 deletion crystal/spider-gazelle/src/controllers/user.cr
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class User < Application
end

def show
render text: params["id"]
render text: route_params["id"]
end

def create
Expand Down

0 comments on commit f23cbc5

Please sign in to comment.