phoenix: fix arrows

This commit is contained in:
Rico Sta. Cruz 2017-09-04 11:40:17 +08:00
parent a555c8cbf8
commit f6f28d8d13
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
1 changed files with 6 additions and 6 deletions

View File

@ -88,8 +88,8 @@ end
```
```elixir
user_post_path(:index, 17) #=> /users/17/posts
user_post_path(:show, 17, 12) #=> /users/17/posts/12
user_post_path(:index, 17) # /users/17/posts
user_post_path(:show, 17, 12) # /users/17/posts/12
```
### Conn
@ -98,10 +98,10 @@ user_post_path(:show, 17, 12) #=> /users/17/posts/12
{: .-crosslink}
```elixir
conn.host #=> "example.com"
conn.method #=> "GET"
conn.path_info #=> ["posts", "1"]
conn.request_path #=> "/posts/1"
conn.host # "example.com"
conn.method # "GET"
conn.path_info # ["posts", "1"]
conn.request_path # "/posts/1"
```
```elixir