File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -857,7 +857,7 @@ Controllers & Actions
857
857
Now that we've defined routes for Products, let's implement the controller and
858
858
actions to handle requests to these URLs.
859
859
860
- This command will generate a `ProductsController with an index action. Since
860
+ This command will generate a ` ProductsController ` with an index action. Since
861
861
we've already set up routes, we can skip that part of the generator using a
862
862
flag.
863
863
@@ -1080,8 +1080,8 @@ helpers you can use for generating URLs with Ruby code.
1080
1080
1081
1081
These route prefixes give us helpers like the following:
1082
1082
1083
- * ` products_path ` generates ` "/products ` "`
1084
- * ` products_url ` generates ` "http://localhost:3000/products ` "`
1083
+ * ` products_path ` generates ` "/products" `
1084
+ * ` products_url ` generates ` "http://localhost:3000/products" `
1085
1085
* ` product_path(1) ` generates ` "/products/1" `
1086
1086
* ` product_url(1) ` generates ` "http://localhost:3000/products/1" `
1087
1087
You can’t perform that action at this time.
0 commit comments