From c30e09d44d223a16bcbdbb6c02b68c080790e4df Mon Sep 17 00:00:00 2001 From: Albert S Date: Sun, 27 Mar 2022 19:52:45 +0200 Subject: [PATCH] HandlerFactory: Wire up HandlerFeedGenerator --- handlers/handlerfactory.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/handlers/handlerfactory.cpp b/handlers/handlerfactory.cpp index 392c717..ffd48e4 100644 --- a/handlers/handlerfactory.cpp +++ b/handlers/handlerfactory.cpp @@ -34,6 +34,7 @@ SOFTWARE. #include "handlerpagedelete.h" #include "handlerusersettings.h" #include "handlerversion.h" +#include "handlerfeedgenerator.h" std::unique_ptr HandlerFactory::createHandler(const std::string &action, Session &userSession) { if(action == "" || action == "index") @@ -84,6 +85,10 @@ std::unique_ptr HandlerFactory::createHandler(const std::string &action { return produce(userSession); } + if(action == "feed") + { + return produce(userSession); + } return produce(userSession); }