diff --git a/app/views/items/index.html.haml b/app/views/items/index.html.haml index ec567706..a8e2bb6f 100644 --- a/app/views/items/index.html.haml +++ b/app/views/items/index.html.haml @@ -1,6 +1,7 @@ = form_tag items_path, :method => :get do = text_field_tag :q, @query = submit_tag 'Search', :name => nil -= will_paginate @results -= render @results -= will_paginate @results +- if @results + = will_paginate @results + = render @results + = will_paginate @results