/** * Fired after saving the page. * * @param EntryInterface|PageInterface|EntryModel $entry */ public function saved(EntryInterface $entry) { $this->dispatch(new UpdatePaths($entry)); parent::saved($entry); }
/** * Fired after a redirect is saved. * * @param EntryInterface|RedirectInterface $entry */ public function saved(EntryInterface $entry) { $this->commands->dispatch(new GenerateRoutesFile()); parent::saved($entry); }