diff options
Diffstat (limited to 'system/libraries')
-rw-r--r-- | system/libraries/Router.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/system/libraries/Router.php b/system/libraries/Router.php index 64becf535..e44d9a4db 100644 --- a/system/libraries/Router.php +++ b/system/libraries/Router.php @@ -428,12 +428,13 @@ class CI_Router { function _parse_routes()
{
// Do we even have any custom routing to deal with?
- if (count($this->routes) == 0)
+ // There is a default scaffolding trigger, so we'll look just for 1
+ if (count($this->routes) == 1)
{
$this->_compile_segments($this->segments);
return;
}
-
+
// Turn the segment array into a URI string
$uri = implode('/', $this->segments);
$num = count($this->segments);
|