Browse Source

fixed routes

tags/0.1.0
Robin Thoni 9 years ago
parent
commit
e14e52fb17
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/Doc/Business/LuDocBusiness.php

+ 2
- 2
src/Doc/Business/LuDocBusiness.php View File

23
 
23
 
24
         $route = LuRoute::getInstance();
24
         $route = LuRoute::getInstance();
25
         $route->get("$prefix/doc", "${ns}LuDocBusiness", "index");
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
     private static function getBusinesses()
30
     private static function getBusinesses()

Loading…
Cancel
Save