Skip to content
This repository
Browse code

minor edits [ci skip]

  • Loading branch information...
commit 25aa4c7bdc78f2d8146cd4b7e8024e618066baf0 1 parent f597122
Vijay Dev authored February 28, 2012

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  railties/guides/source/routing.textile
4  railties/guides/source/routing.textile
Source Rendered
@@ -295,13 +295,13 @@ In this case, Rails will see that +@magazine+ is a +Magazine+ and +@ad+ is an +A
295 295
 <%= link_to "Ad details", [@magazine, @ad] %>
296 296
 </erb>
297 297
 
298  
-If you wanted to link to just a magazine, you could leave out the +Array+:
  298
+If you wanted to link to just a magazine:
299 299
 
300 300
 <erb>
301 301
 <%= link_to "Magazine details", @magazine %>
302 302
 </erb>
303 303
 
304  
-For other actions, you just need to insert the action name as the first element of the +Array+:
  304
+For other actions, you just need to insert the action name as the first element of the array:
305 305
 
306 306
 <erb>
307 307
 <%= link_to "Edit Ad", [:edit, @magazine, @ad] %>

0 notes on commit 25aa4c7

Please sign in to comment.
Something went wrong with that request. Please try again.