protected function addRoutes(ControllerCollection $c) { $c->post('/stack/add', 'add')->assert('filename', '.*')->bind('stack/add'); $c->get('/stack/show', 'show')->bind('stack/show'); }