aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/routing.md
diff options
context:
space:
mode:
authorJon Moss <me@jonathanmoss.me>2016-05-18 09:07:01 -0400
committerJon Moss <me@jonathanmoss.me>2016-05-18 09:07:01 -0400
commit578ae253df4e122fe13232379cf0b5f34351834c (patch)
tree3727345373ecc5b954aaef6d76f3e020606d687e /guides/source/routing.md
parent73874a163f82dfb326c65a3e414d04b180b9074b (diff)
downloadrails-578ae253df4e122fe13232379cf0b5f34351834c.tar.gz
rails-578ae253df4e122fe13232379cf0b5f34351834c.tar.bz2
rails-578ae253df4e122fe13232379cf0b5f34351834c.zip
Light grammar edits to beginning of Routing guide
[ci skip]
Diffstat (limited to 'guides/source/routing.md')
-rw-r--r--guides/source/routing.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/guides/source/routing.md b/guides/source/routing.md
index 81321c7405..756e0fefd7 100644
--- a/guides/source/routing.md
+++ b/guides/source/routing.md
@@ -9,16 +9,16 @@ After reading this guide, you will know:
* How to interpret the code in `config/routes.rb`.
* How to construct your own routes, using either the preferred resourceful style or the `match` method.
-* What parameters to expect an action to receive.
+* How to declare route parameters, which are passed onto controller actions.
* How to automatically create paths and URLs using route helpers.
-* Advanced techniques such as constraints and Rack endpoints.
+* Advanced techniques such as creating constraints and mounting Rack endpoints.
--------------------------------------------------------------------------------
The Purpose of the Rails Router
-------------------------------
-The Rails router recognizes URLs and dispatches them to a controller's action. It can also generate paths and URLs, avoiding the need to hardcode strings in your views.
+The Rails router recognizes URLs and dispatches them to a controller's action, or to a Rack application. It can also generate paths and URLs, avoiding the need to hardcode strings in your views.
### Connecting URLs to Code