summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-08-31 13:22:14 +0200
committerhukl <contact@smyck.org>2009-08-31 13:22:14 +0200
commita9b003b7c3e636f32b7f031d12cf1aa41dbca1b9 (patch)
tree5688b73d15ac0161115d3d7637f28ca5beaa0770 /app/views
parent0f24cfe22b76b6480737c5ab119c394437613b5e (diff)
paginate assets view
Diffstat (limited to 'app/views')
-rw-r--r--app/views/assets/index.html.erb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/assets/index.html.erb b/app/views/assets/index.html.erb
index c9be684..fc7c029 100644
--- a/app/views/assets/index.html.erb
+++ b/app/views/assets/index.html.erb
@@ -3,10 +3,11 @@
3<% end %> 3<% end %>
4 4
5 5
6<%= will_paginate @assets %>
7
6<table> 8<table>
7 <tr> 9 <tr>
8 </tr> 10 </tr>
9
10<% @assets.each do |asset| %> 11<% @assets.each do |asset| %>
11 <tr> 12 <tr>
12 <td><%= image_tag asset.upload.url(:thumb) %></td> 13 <td><%= image_tag asset.upload.url(:thumb) %></td>