protected function addRoutes(ControllerCollection $c) { $c->match('/{namespace}', 'uploadNamespace')->before([$this, 'before'])->value('namespace', 'files')->bind('upload'); return $c; }