From 1564af069472e32ed322bf9acedc9c487bce1a15 Mon Sep 17 00:00:00 2001 From: hellekin Date: Tue, 6 Oct 2020 19:29:04 +0200 Subject: First pass at listing Resources This implements resource listing and pagination. See /resources --- app/views/resources/index.html.erb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'app/views/resources/index.html.erb') diff --git a/app/views/resources/index.html.erb b/app/views/resources/index.html.erb index 320849a..473bcbb 100644 --- a/app/views/resources/index.html.erb +++ b/app/views/resources/index.html.erb @@ -1,2 +1,6 @@ -

Resources#index

-

Find me in app/views/resources/index.html.erb

+

Listing Resources

+ +<%= paginate @resources %> + +<%= render partial: 'resource', collection: @resources %> + -- cgit v1.2.3