Default tags assign on error

This commit is contained in:
Liam 2024-04-08 13:03:20 -04:00
parent 3ffebd1533
commit 39efe6767c

View file

@ -34,6 +34,7 @@ defmodule PhilomenaWeb.SearchController do
render(conn, "index.html", render(conn, "index.html",
title: "Searching for #{params["q"]}", title: "Searching for #{params["q"]}",
images: [], images: [],
tags: [],
error: msg, error: msg,
search_query: params["q"] search_query: params["q"]
) )