Skip to content
Browse files

Convert parragraph about security to a NOTE [ci skip]

  • Loading branch information...
1 parent 51b2629 commit 25e75153b4a8f395bded7c82e63e2e188e7acea2 @ptn ptn committed Dec 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 guides/source/routing.md
View
2 guides/source/routing.md
@@ -624,7 +624,7 @@ You can match all verbs to a particular route using `via: :all`:
match 'photos', to: 'photos#show', via: :all
```
-You should avoid routing all verbs to an action unless you have a good reason to, as routing both `GET` requests and `POST` requests to a single action has security implications.
+NOTE: Routing both `GET` and `POST` requests to a single action has security implications. In general, you should avoid routing all verbs to an action unless you have a good reason to.
### Segment Constraints

0 comments on commit 25e7515

Please sign in to comment.
Something went wrong with that request. Please try again.