mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-10 00:52:11 +01:00
Call render menu in PagedArticle. Also don't pop path.
This commit is contained in:
parent
2de0398fb0
commit
58f258e99d
@ -20,11 +20,12 @@ void PagedArticle::handle_request_main(Request *request) {
|
||||
}
|
||||
|
||||
if (rp == "") {
|
||||
render_menu(request);
|
||||
|
||||
// summary page
|
||||
request->body += summary_page;
|
||||
|
||||
request->compile_and_send_body();
|
||||
request->pop_path();
|
||||
return;
|
||||
}
|
||||
|
||||
@ -36,9 +37,9 @@ void PagedArticle::handle_request_main(Request *request) {
|
||||
return;
|
||||
}
|
||||
|
||||
render_menu(request);
|
||||
request->body += (*page);
|
||||
request->compile_and_send_body();
|
||||
request->pop_path();
|
||||
}
|
||||
|
||||
void PagedArticle::load() {
|
||||
|
Loading…
Reference in New Issue
Block a user