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:
parent
5c4af59732
commit
48791dda34
1 changed files with 0 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue