1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remove empty line that breaks 'code' formatting.

This commit is contained in:
Andreas Scherer 2009-02-17 14:11:59 +01:00
parent 5c4af59732
commit 48791dda34

View file

@ -387,7 +387,6 @@ To hook the posts up to the home page you've already created, you can add a link
<code lang="ruby">
<h1>Hello, Rails!</h1>
<%= link_to "My Blog", posts_path %>
</code>
The +link_to+ method is one of Rails' built-in view helpers. It creates a hyperlink based on text to display and where to go - in this case, to the path for posts.