diff --git a/app/views/items/_items.html.haml b/app/views/items/_items.html.haml index 6a410ad..012dbac 100644 --- a/app/views/items/_items.html.haml +++ b/app/views/items/_items.html.haml @@ -4,8 +4,8 @@ - if @items.empty? %li.no_results No results found. -- elsif is_last_page?(@items) - %li.book - .last_page_message End of results. - else - = render partial: 'item', collection: @items \ No newline at end of file + = render partial: 'item', collection: @items + - if is_last_page?(@items) + %li.book + .last_page_message End of results. \ No newline at end of file