From a9b003b7c3e636f32b7f031d12cf1aa41dbca1b9 Mon Sep 17 00:00:00 2001 From: hukl Date: Mon, 31 Aug 2009 13:22:14 +0200 Subject: paginate assets view --- app/views/assets/index.html.erb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/views') 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 @@ <% end %> +<%= will_paginate @assets %> + - <% @assets.each do |asset| %> -- cgit v1.3
<%= image_tag asset.upload.url(:thumb) %>