public function addRoutes(RegisterForumRoutes $event) { $event->get('/t/{slug}', 'tags.forum.tag'); $event->get('/tags', 'tags.forum.tags'); }
public function addRoutes(RegisterForumRoutes $event) { $event->get('/following', 'flarum.forum.following'); }
public function addLoginRoute(RegisterForumRoutes $event) { $event->get('/login/github', 'github.login', 'Flarum\\Github\\LoginAction'); }