diff --git a/app/views/wiki/_wikis.html.erb b/app/views/wiki/_wikis.html.erb
index 5990442608..3c930fb1dd 100644
--- a/app/views/wiki/_wikis.html.erb
+++ b/app/views/wiki/_wikis.html.erb
@@ -27,7 +27,7 @@
<% end %>
<% end %>
-<%= @pagy.inspect %>
+
<% if @pagy %>
<%== pagy_bootstrap_nav @pagy %>
<% else %>