Introducing HandlerConfig class to give handlers config values they need
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user