aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/routing.md
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2013-09-07 01:33:19 -0700
committerXavier Noria <fxn@hashref.com>2013-09-07 01:33:19 -0700
commitc989a18a74d970be86c537766f14916bd06fe176 (patch)
treecf2ab71e426364c6b82e884b00146acf1345abc1 /guides/source/routing.md
parent6a91a3307ff6556225ab8717617074cea20222e0 (diff)
parent2c8bc2cdcdb7b144b7a583d24922fd8064bcff3d (diff)
downloadrails-c989a18a74d970be86c537766f14916bd06fe176.tar.gz
rails-c989a18a74d970be86c537766f14916bd06fe176.tar.bz2
rails-c989a18a74d970be86c537766f14916bd06fe176.zip
Merge pull request #12155 from jetthoughts/reformat_guides_code_examples
Use Ruby on Rails Coding Conventions for code examples in the guides
Diffstat (limited to 'guides/source/routing.md')
-rw-r--r--guides/source/routing.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/routing.md b/guides/source/routing.md
index 76c4c25108..37525c48a6 100644
--- a/guides/source/routing.md
+++ b/guides/source/routing.md
@@ -863,8 +863,8 @@ resources :user_permissions, controller: 'admin/user_permissions'
This will route to the `Admin::UserPermissions` controller.
NOTE: Only the directory notation is supported. Specifying the
-controller with Ruby constant notation (eg. `:controller =>
-'Admin::UserPermissions'`) can lead to routing problems and results in
+controller with Ruby constant notation (eg. `controller: 'Admin::UserPermissions'`)
+can lead to routing problems and results in
a warning.
### Specifying Constraints