Prechádzať zdrojové kódy

Remove unnecessary slash in pattern

Jordi Boggiano 12 rokov pred
rodič
commit
beae196e92

+ 1 - 1
src/Packagist/WebBundle/Controller/WebController.php

@@ -408,7 +408,7 @@ class WebController extends Controller
 
     /**
      * @Template("PackagistWebBundle:Web:viewPackage.html.twig")
-     * @Route("/packages/{name}/maintainers/", name="add_maintainer", requirements={"name"="[A-Za-z0-9_.-]+/[A-Za-z0-9/_.-]+"})
+     * @Route("/packages/{name}/maintainers/", name="add_maintainer", requirements={"name"="[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+"})
      */
     public function createMaintainerAction(Request $req, $name)
     {