diff options
| author | mo khan <mo@mokhan.ca> | 2015-03-18 21:02:28 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2015-03-18 21:02:28 -0600 |
| commit | 0044a8d2b5aceef0c39735ccd799b1b47d63d7f2 (patch) | |
| tree | b0d7dbab00f8e97411f5e43ccf75600a5c52665e /app/views | |
| parent | c38947dcaec2e63ab40b133d34919872e398aaf2 (diff) | |
remove the target _blank
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/tutorials/index.html.erb | 2 |
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> |
