Fix PagedArticles's routing. And removed stray print.

This commit is contained in:
Relintai 2022-02-05 13:13:02 +01:00
parent 58f258e99d
commit 382696609c

View File

@ -49,7 +49,6 @@ void PagedArticles::load() {
PagedArticle *p = new PagedArticle(); PagedArticle *p = new PagedArticle();
String seg = dir->current_get_name(); String seg = dir->current_get_name();
p->articles_folder = ff; p->articles_folder = ff;
seg.print();
p->set_uri_segment(seg); p->set_uri_segment(seg);
add_child(p); add_child(p);
} }
@ -88,6 +87,8 @@ void PagedArticles::_notification(const int what) {
default: default:
break; break;
} }
WebNode::_notification(what);
} }
PagedArticles::PagedArticles() : PagedArticles::PagedArticles() :