From 059f9f03941a65baf400b4444e7eddd999397f94 Mon Sep 17 00:00:00 2001 From: Anton Cherepanov Date: Thu, 20 Jun 2013 10:31:08 +0600 Subject: Added markdown tag for highlight --- guides/source/routing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides/source') diff --git a/guides/source/routing.md b/guides/source/routing.md index c6d3b2a58a..2a681e3ab5 100644 --- a/guides/source/routing.md +++ b/guides/source/routing.md @@ -173,7 +173,7 @@ As with plural resources, the same helpers ending in `_url` will also include th WARNING: A [long-standing bug](https://github.com/rails/rails/issues/1769) prevents `form_for` from working automatically with singular resources. As a workaround, specify the URL for the form directly, like so: -``` +```ruby form_for @geocoder, url: geocoder_path do |f| ``` -- cgit v1.2.3