Merge pull request #208 from shapkin/master
Fix spaces and use link_to instead of <a> tags.
This commit is contained in:
commit
e5e0900850
|
@ -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…</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…</a>
|
||||
|
|
Loading…
Reference in New Issue