Merge pull request #96 from mikowitz/patch-1

Update phoenix.md
This commit is contained in:
Rico Sta. Cruz 2017-10-21 03:54:27 +08:00 committed by GitHub
commit b1a2733ed1
1 changed files with 2 additions and 2 deletions

View File

@ -85,8 +85,8 @@ end
```
```elixir
user_post_path(:index, 17) # → /users/17/posts
user_post_path(:show, 17, 12) # → /users/17/posts/12
user_post_path(conn, :index, 17) # → /users/17/posts
user_post_path(conn, :show, 17, 12) # → /users/17/posts/12
```
[Phoenix routing cheatsheet](./phoenix-routing)