diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-01-01 18:54:55 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-01-01 18:54:55 -0200 |
commit | a7094f5c88b434c63fd59767dbdbc17038f464f9 (patch) | |
tree | 3b36ed39a77899b1dcc0fe331c246db647a5ec84 /guides | |
parent | 75ad0e642c69cd037ce02172ce68e664634389ed (diff) | |
download | rails-a7094f5c88b434c63fd59767dbdbc17038f464f9.tar.gz rails-a7094f5c88b434c63fd59767dbdbc17038f464f9.tar.bz2 rails-a7094f5c88b434c63fd59767dbdbc17038f464f9.zip |
Do not highlight rake routes output as ruby code [ci skip]
Closes #13565
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/getting_started.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/getting_started.md b/guides/source/getting_started.md index afb3bb22bf..b2874d22a6 100644 --- a/guides/source/getting_started.md +++ b/guides/source/getting_started.md @@ -757,7 +757,7 @@ the `show` action. That's not very useful though, so let's add the As we have seen in the output of `rake routes`, the route for `show` action is as follows: -```ruby +``` post GET /posts/:id(.:format) posts#show ``` @@ -804,7 +804,7 @@ Visit <http://localhost:3000/posts/new> and give it a try! We still need a way to list all our posts, so let's do that. The route for this as per output of `rake routes` is: -```ruby +``` posts GET /posts(.:format) posts#index ``` |