Quellcode durchsuchen

fixed routes

tags/0.1.0
Robin Thoni vor 9 Jahren
Ursprung
Commit
e14e52fb17
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2
    2
      src/Doc/Business/LuDocBusiness.php

+ 2
- 2
src/Doc/Business/LuDocBusiness.php Datei anzeigen

@@ -23,8 +23,8 @@ class LuDocBusiness
23 23
 
24 24
         $route = LuRoute::getInstance();
25 25
         $route->get("$prefix/doc", "${ns}LuDocBusiness", "index");
26
-        $route->get("$prefix/doc/{business}", "${ns}LuDocBusiness", "business");
27
-        $route->get("$prefix/doc/{business}/{method}", "${ns}LuDocBusiness", "method");
26
+        $route->get("$prefix/doc/{businessHyphen}", "${ns}LuDocBusiness", "business");
27
+        $route->get("$prefix/doc/{businessHyphen}/{method}", "${ns}LuDocBusiness", "method");
28 28
     }
29 29
 
30 30
     private static function getBusinesses()

Laden…
Abbrechen
Speichern