aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorYauheni Dakuka <yauheni.dakuka@gmail.com>2017-07-28 11:35:09 +0300
committerGitHub <noreply@github.com>2017-07-28 11:35:09 +0300
commitbb5f29bfb71afcbd90a23842594f840e666d738d (patch)
tree575e161ace656cc4bcfa32a52bb4f745b8299068 /guides
parent17169cfb7167e357d50290eace083ce3b38bfb7f (diff)
downloadrails-bb5f29bfb71afcbd90a23842594f840e666d738d.tar.gz
rails-bb5f29bfb71afcbd90a23842594f840e666d738d.tar.bz2
rails-bb5f29bfb71afcbd90a23842594f840e666d738d.zip
[ci skip] update routing guide
Diffstat (limited to 'guides')
-rw-r--r--guides/source/routing.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/routing.md b/guides/source/routing.md
index 0d45d6c554..6ed453a726 100644
--- a/guides/source/routing.md
+++ b/guides/source/routing.md
@@ -640,7 +640,7 @@ match 'photos', to: 'photos#show', via: :all
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.
-NOTE: 'GET' in Rails won't check for CSRF token. You should never write to the database from 'GET' requests, for more information see the [security guide](security.html#csrf-countermeasures) on CSRF countermeasures.
+NOTE: `GET` in Rails won't check for CSRF token. You should never write to the database from `GET` requests, for more information see the [security guide](security.html#csrf-countermeasures) on CSRF countermeasures.
### Segment Constraints