From 410ff66fa75cf340b152ec42689a989ca8a82046 Mon Sep 17 00:00:00 2001 From: Brian Cardarella Date: Mon, 22 Dec 2014 22:49:47 -0500 Subject: [PATCH] Markdown link syntax was backwards --- D_controllers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/D_controllers.md b/D_controllers.md index 263bed0e..54ef4323 100644 --- a/D_controllers.md +++ b/D_controllers.md @@ -419,7 +419,7 @@ For a list of valid content mime-types, please see the documentation from the pl We can also set the HTTP status code of a response similarly to the way we set the content type. The `Plug.Conn` module, imported into all controllers, has a `put_status/2` function to do this. -`put_status/2` takes `conn` and either an integer or a "friendly name" used as an atom for the status code we want to set. Here is the list of supported [https://github.com/elixir-lang/plug/blob/master/lib/plug/conn/status.ex#L7-L63](friendly names). +`put_status/2` takes `conn` and either an integer or a "friendly name" used as an atom for the status code we want to set. Here is the list of supported [friendly names](https://github.com/elixir-lang/plug/blob/master/lib/plug/conn/status.ex#L7-L63). Let's change the status in our `PageController` `index` action.