public function initialize() { $this->setPaths(['controller' => 'Newsfeed']); $this->setPrefix('/newsfeed'); $this->addGet('', ['action' => 'index']); }