diff options
Diffstat (limited to 'railties/guides/code/getting_started/app/views/posts/show.html.erb')
-rw-r--r-- | railties/guides/code/getting_started/app/views/posts/show.html.erb | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/railties/guides/code/getting_started/app/views/posts/show.html.erb b/railties/guides/code/getting_started/app/views/posts/show.html.erb deleted file mode 100644 index da78a9527b..0000000000 --- a/railties/guides/code/getting_started/app/views/posts/show.html.erb +++ /dev/null @@ -1,31 +0,0 @@ -<p class="notice"><%= notice %></p> - -<p> - <b>Name:</b> - <%= @post.name %> -</p> - -<p> - <b>Title:</b> - <%= @post.title %> -</p> - -<p> - <b>Content:</b> - <%= @post.content %> -</p> - -<p> - <b>Tags:</b> - <%= join_tags(@post) %> -</p> - -<h2>Comments</h2> -<%= render @post.comments %> - -<h2>Add a comment:</h2> -<%= render "comments/form" %> - - -<%= link_to 'Edit Post', edit_post_path(@post) %> | -<%= link_to 'Back to Posts', posts_path %> | |