diff --git a/route_handlers.go b/route_handlers.go index d4ab1e7..85afa3b 100644 --- a/route_handlers.go +++ b/route_handlers.go @@ -411,7 +411,7 @@ func newsFormHandler(w http.ResponseWriter, r *http.Request, user *user.User, se session.AddFlash("Error loading news", flash_err) } - ShowTemplate("news", w, r, map[string]interface{}{"user": user, "flashes": flashes, "news": news, "count": count, "categories": categories.CategoriesFlat}) + ShowTemplate("news", w, r, map[string]interface{}{"user": user, "flashes": flashes, "news": news, "count": count, "categories": categories.CategoriesFlat, "url": config.Url}) } func ServeFileHandler(res http.ResponseWriter, req *http.Request) {