diff --git a/app/views/items/show.html.erb b/app/views/items/show.html.erb index f51d21a..d141176 100644 --- a/app/views/items/show.html.erb +++ b/app/views/items/show.html.erb @@ -3,10 +3,12 @@ <%= render_votes_for_item(@item) %> comments: <%= @item.comments_count %>
- +<%= content_for(:title) do %> + <%= @item.title %> +<% end %>
- <%= link_to @item.title, @item, title: @item.url %>
+ <%= link_to @item.title, @item, title: @item.url %>
(<%= @item.url %>)
(posted by: <%= link_to @item.user.username, @item.user %>)
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index b35b93f..308f661 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -1,7 +1,7 @@