Introducing HandlerConfig class to give handlers config values they need

这个提交包含在:
2019-09-29 20:27:53 +02:00
父节点 364d82a99f
当前提交 0ccc20454b
共有 8 个文件被更改,包括 36 次插入33 次删除

查看文件

@@ -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
{