record only requests with params
[MojoFacets.git] / templates / changes / index.html.ep
index 4e037df..d55f2c8 100644 (file)
@@ -4,8 +4,7 @@
 <ul>
 % foreach my $change ( @$changes ) {
 <li>
-<a href="<%= url_for( controller => $change->[1], action => $change->[2] ) %>">
-<%= $change->[0] %> <%= $change->[2] %>
-</a>
+<%= $change->{t} %>
+<a href="<%= url_for( controller => 'changes', action => 'view' )->query( uid => $change->{uid} ) %>"><%= $change->{action} %></a>
 % }
 </ul>