Merge pull request #208 from shapkin/master

Fix spaces and use link_to instead of <a> tags.
This commit is contained in:
Robin Ward 2013-02-20 07:30:46 -08:00
commit e5e0900850
1 changed files with 18 additions and 18 deletions

View File

@ -6,7 +6,7 @@
<td style="vertical-align:top; padding:0 20px 20px 0;">
<h2>Popular topics</h2>
<% @popular.each do |t| %>
<a href='<%= t.relative_url %>'><%= t.title %></a><br/>
<%= link_to t.title, t.relative_url %><br/>
<% end %>
<br/>
<a href="/popular" class="btn">See More&hellip;</a>
@ -14,7 +14,7 @@
<td style="vertical-align:top; padding:0 0 20px 0;">
<h2>Recent topics</h2>
<% @recent.each do |t| %>
<a href='<%= t.relative_url %>'><%= t.title %></a><br/>
<%= link_to t.title, t.relative_url %><br/>
<% end %>
<br/>
<a href="/popular" class="btn">See More&hellip;</a>