phoenix-conn: formatting

This commit is contained in:
Rico Sta. Cruz 2017-08-30 01:13:20 +08:00
parent b9e9a33111
commit 382f085c93
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
1 changed files with 3 additions and 0 deletions

View File

@ -98,6 +98,9 @@ conn
|> put_layout(:foo) |> put_layout(:foo)
|> put_layout(false) |> put_layout(false)
|> put_view(ErrorView) |> put_view(ErrorView)
```
```elixir
|> put_secure_browser_headers() |> put_secure_browser_headers()
# prevent clickjacking, nosniff, and xss protection # prevent clickjacking, nosniff, and xss protection
# x-frame-options, x-content-type-options, x-xss-protection # x-frame-options, x-content-type-options, x-xss-protection