Commit 0044a8d2
Changed files (1)
app
views
tutorials
app/views/tutorials/index.html.erb
@@ -5,7 +5,7 @@
<% @tutorials.each do |tutorial| %>
<tr>
<td>
- <h4><a href="<%= tutorial.url %>" target="_blank"><%= tutorial.heading %></a> <small><%= tutorial.created_at.to_s :foomat %></small></h4>
+ <h4><%= link_to tutorial.heading, tutorial.url %> <small><%= tutorial.created_at.to_s :foomat %></small></h4>
<% tutorial.tags.each do |tag| -%>
<%= link_to tutorial_tag_path(tag.name) do %>
<span class="label"><%= tag.name %></span>