Permalink
Browse files

Makes the redirect links clickable (much better heh)

  • Loading branch information...
fdv committed Mar 15, 2012
1 parent a1dd799 commit a1e70bb5837ad831576c170a59b93a6dd776c5c4
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/views/admin/redirects/new.html.erb
@@ -34,10 +34,10 @@
<% for redirect in @redirects %>
<tr <%= alternate_class %>>
<td>
- <%= "#{this_blog.base_url}/#{redirect.from_path}" %>
+ <%= link_to("#{this_blog.base_url}/#{redirect.from_path}", "#{this_blog.base_url}/#{redirect.from_path}") %>
<%= show_redirect_actions redirect %>
</td>
- <td><%= redirect.to_path %></td>
+ <td><%= link_to(redirect.to_path, redirect.to_path) %></td>
</tr>
<% end %>
<%= display_pagination(@redirects, 2)%>

0 comments on commit a1e70bb

Please sign in to comment.