Introducing HandlerConfig class to give handlers config values they need

This commit is contained in:
2019-09-29 20:27:53 +02:00
parent 364d82a99f
commit 0ccc20454b
8 changed files with 36 additions and 33 deletions

View File

@@ -66,7 +66,8 @@ Response RequestWorker::processRequest(const Request &r)
}
}
auto handler = createHandler(r.param("action"), *this->templ, *this->db, session, *this->urlProvider, *this->cache);
auto handler = createHandler(r.param("action"), *this->handlerConfig, *this->templ, *this->db, session,
*this->urlProvider, *this->cache);
try
{