diff options
author | Prem Sichanugrist <s@sikac.hu> | 2012-09-06 22:26:59 -0400 |
---|---|---|
committer | Prem Sichanugrist <s@sikac.hu> | 2012-09-17 15:54:23 -0400 |
commit | 41dbb58e2dd16710ffae0a44c04cf21bed5588e0 (patch) | |
tree | dc6e336b756cb05ce5cab10bd9815c953c275f1e /guides/source/routing.md | |
parent | 721afdcc4b58c65f36122b10ec998b913a147912 (diff) | |
download | rails-41dbb58e2dd16710ffae0a44c04cf21bed5588e0.tar.gz rails-41dbb58e2dd16710ffae0a44c04cf21bed5588e0.tar.bz2 rails-41dbb58e2dd16710ffae0a44c04cf21bed5588e0.zip |
Fix the usage of `*` in Markdown
In Textile `*` would convert to `<strong>`, but in Markdown we have to
use `**` instead.
Diffstat (limited to 'guides/source/routing.md')
-rw-r--r-- | guides/source/routing.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/routing.md b/guides/source/routing.md index 87ca2f58d3..27fd2a35c4 100644 --- a/guides/source/routing.md +++ b/guides/source/routing.md @@ -95,7 +95,7 @@ creates seven different routes in your application, all mapping to the `Photos` | PATCH/PUT | /photos/:id | update | update a specific photo | | DELETE | /photos/:id | destroy | delete a specific photo | -NOTE: Rails routes are matched in the order they are specified, so if you have a `resources :photos` above a `get 'photos/poll'` the `show` action's route for the `resources` line will be matched before the `get` line. To fix this, move the `get` line *above* the `resources` line so that it is matched first. +NOTE: Rails routes are matched in the order they are specified, so if you have a `resources :photos` above a `get 'photos/poll'` the `show` action's route for the `resources` line will be matched before the `get` line. To fix this, move the `get` line **above** the `resources` line so that it is matched first. ### Paths and URLs @@ -901,7 +901,7 @@ Rails offers facilities for inspecting and testing your routes. ### Seeing Existing Routes -To get a complete list of the available routes in your application, visit `http://localhost:3000/rails/info/routes` in your browser while your server is running in the *development* environment. You can also execute the `rake routes` command in your terminal to produce the same output. +To get a complete list of the available routes in your application, visit `http://localhost:3000/rails/info/routes` in your browser while your server is running in the **development** environment. You can also execute the `rake routes` command in your terminal to produce the same output. Both methods will list all of your routes, in the same order that they appear in `routes.rb`. For each route, you'll see: |