Permalink
Browse files

Add a note for the example in Setting Custom Headers

  • Loading branch information...
agis committed Nov 15, 2012
1 parent 08bf549 commit 168f5b1cd70c211776f735a0f63c8c5c87105441
Showing with 2 additions and 0 deletions.
  1. +2 −0 guides/source/action_controller_overview.md
@@ -616,6 +616,8 @@ If you want to set custom headers for a response then `response.headers` is the
response.headers["Content-Type"] = "application/pdf"
```
+Note: in the above case it would make more sense to use the `content_type` setter directly.
+
HTTP Authentications
--------------------

0 comments on commit 168f5b1

Please sign in to comment.