point rest of /data/table to /data/items
authorDobrica Pavlinusic <dpavlin@rot13.org>
Fri, 16 Apr 2010 17:06:04 +0000 (19:06 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Fri, 16 Apr 2010 17:06:04 +0000 (19:06 +0200)
templates/data/columns.html.ep
templates/data/items.html.ep

index d88de4c..0ebc06e 100644 (file)
@@ -21,7 +21,7 @@ $(document).ready(function() {
 
 <h2>Select and reorder columns</h2>
 
-<form method=post action=/data/table >
+<form method=post action=/data/items >
 
 <input type=submit value="Select">
 
index 6f04410..759e325 100644 (file)
@@ -52,7 +52,7 @@ items
 %      if ( $o == $offset ) {
 <b><%= $p + 1 %></b>
 %      } else {
-<a href="<%= url_for( action => 'table' )->query( offset => $p * $limit ) %>"><%= $p + 1 %></a>
+<a href="<%= url_for( action => 'items' )->query( offset => $p * $limit ) %>"><%= $p + 1 %></a>
 %      }
 % }
 </div>