diff --git a/src/main/kotlin/uk/co/neviyn/booru/Controller.kt b/src/main/kotlin/uk/co/neviyn/booru/Controller.kt index bb916d6..9fa4554 100644 --- a/src/main/kotlin/uk/co/neviyn/booru/Controller.kt +++ b/src/main/kotlin/uk/co/neviyn/booru/Controller.kt @@ -73,7 +73,7 @@ class ImageController } } } - } ?: return "noresults" + } ?: return "gallery" model.addAttribute("imagePage", images) return "gallery" } diff --git a/src/main/resources/templates/gallery.html b/src/main/resources/templates/gallery.html index 1e4f157..eeb698e 100644 --- a/src/main/resources/templates/gallery.html +++ b/src/main/resources/templates/gallery.html @@ -7,13 +7,31 @@
No images found with all the specified tags.