<h3>Redirects</h3>

<table class='table'>
  <tr>
    <th>From</th>
    <th>To</th>
  </tr>
  <% redirects.each do |redirect| %>
    <tr>
      <td><%= link_to website_url(redirect.from_base_path) %></td>
      <td><%= link_to website_url(redirect.to_base_path) %></td>
    </tr>
  <% end %>
</table>

<h3>Redirects</h3>

<table class='table'>
  <tr>
    <th>From</th>
    <th>To</th>
    <th>Added</th>
  </tr>
  <% redirects.order('created_at DESC').each do |redirect| %>
    <tr>
      <td><%= redirect.created_at.to_formatted_s(:long) %></td>
      <td><%= link_to redirect.from_base_path, website_url(redirect.from_base_path), target: '_blank' %></td>
      <td><%= link_to redirect.to_base_path, website_url(redirect.to_base_path), target: '_blank' %></td>
    </tr>
  <% end %>
</table>

Make links to redirects work
Make links to redirects work

Providing only one argument to `link_to` will generate a link to the
page itself. The original intent was of course to link to the URL.

Also adds the created date for extra context.
