diff options
Diffstat (limited to 'railties')
-rw-r--r-- | railties/guides/source/getting_started.textile | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/railties/guides/source/getting_started.textile b/railties/guides/source/getting_started.textile index 7c7f7e889c..3d6c16f11c 100644 --- a/railties/guides/source/getting_started.textile +++ b/railties/guides/source/getting_started.textile @@ -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. |