Commit 0044a8d2

mo khan <mo@mokhan.ca>
2015-03-19 03:02:28
remove the target _blank
1 parent c38947d
Changed files (1)
app
views
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>