Skip to content

Commit 4b3d1cd

Browse files
committed
made the code block explicit around the list of routes
1 parent 3fc7143 commit 4b3d1cd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sites/curriculum/setting_the_default_page.step

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ explanation {
5151
At the terminal type `rake routes`. You should get something that
5252
looks like this:
5353

54+
````
5455
$ rake routes
5556

5657
votes GET /votes(.:format) votes#index
@@ -68,7 +69,7 @@ explanation {
6869
PUT /topics/:id(.:format) topics#update
6970
DELETE /topics/:id(.:format) topics#destroy
7071
root / topics#index
71-
72+
````
7273
This shows all the URLs your application responds to. The code that starts with colons are variables so :id means the id number of the record. The code in parenthesis is optional.
7374

7475
### Exploring Routes (optional)

0 commit comments

Comments
 (0)