lib/flapjack/gateways/web/views/contacts.html.erb in flapjack-0.9.6 vs lib/flapjack/gateways/web/views/contacts.html.erb in flapjack-1.0.0rc1
- old
+ new
@@ -12,16 +12,16 @@
<th>Name</th>
<th>Email</th>
</tr>
<% @contacts.sort_by {|c| [c.last_name, c.first_name] }.each do |contact| %>
<tr>
- <td><a href="/contacts/<%= contact.id %>" title="contact details"><%= h contact.name %></a></td>
+ <td><a href="<%= @base_url %>contacts/<%= contact.id %>" title="contact details"><%= h contact.name %></a></td>
<td><%= h contact.email %></td>
</tr>
<% end %>
</table>
<% end %>
-<a href="/edit_contacts"/>
+<a href="<%= @base_url %>edit_contacts"/>
Edit contacts
<span class="label label-danger">beta</span>
</a>