summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2015-03-18 21:02:28 -0600
committermo khan <mo@mokhan.ca>2015-03-18 21:02:28 -0600
commit0044a8d2b5aceef0c39735ccd799b1b47d63d7f2 (patch)
treeb0d7dbab00f8e97411f5e43ccf75600a5c52665e /app/views
parentc38947dcaec2e63ab40b133d34919872e398aaf2 (diff)
remove the target _blank
Diffstat (limited to 'app/views')
-rw-r--r--app/views/tutorials/index.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/tutorials/index.html.erb b/app/views/tutorials/index.html.erb
index 0659662e..0a4d08e1 100644
--- a/app/views/tutorials/index.html.erb
+++ b/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>