From f6f28d8d13e70b863ae04e8563bacd0e015fd631 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Mon, 4 Sep 2017 11:40:17 +0800 Subject: [PATCH] phoenix: fix arrows --- phoenix.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/phoenix.md b/phoenix.md index a2aadb4bc..badea6059 100644 --- a/phoenix.md +++ b/phoenix.md @@ -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