Permalink
Browse files

Fixing HTML

  • Loading branch information...
1 parent 81dc539 commit 705183cd37fadfe69bb68d47b8485ce732b9d94b @jcasimir jcasimir committed Jan 11, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 app/views/articles/show.html.erb
  2. +1 −1 app/views/dashboard/show.html.erb
@@ -1,5 +1,5 @@
<h1><%= @article.title %></h1>
-<h4>Published <%= @article.created_at %>
+<h4>Published <%= @article.created_at %></h4>
<p class='tag_list'><em>Tagged:</em> <%= @article.tag_list %></p>
<p><%= @article.body %></p>
@@ -37,6 +37,6 @@
<li id='total_article_words'>Words in all articles: <%= @article_word_count %></li>
<li id='total_comment_words'>Words in all comments: <%= @comment_word_count %></li>
<li id='total_words'>Total Words: <%= @article_word_count + @comment_word_count %></li>
- <li id='most_popular'>Most Popular Article: <%= @most_popular_article %></li>
+ <li id='most_popular'>Most Popular Article: <%= link_to @most_popular_article.title, @most_popular_article %></li>
</ul>
</div>

0 comments on commit 705183c

Please sign in to comment.