import router.

This commit is contained in:
Taylor Otwell
2012-02-17 08:33:46 -06:00
parent ed72448fb0
commit 42b9d1e097

View File

@@ -1,5 +1,6 @@
<?php namespace Laravel; defined('DS') or die('No direct script access.');
use Laravel\Routing\Router;
use FilesystemIterator as fIterator;
class Bundle {
@@ -114,7 +115,7 @@ class Bundle {
// By setting the bundle property on the router the router knows what
// value to replace the (:bundle) place-holder with when the bundle
// routes are added, keeping the routes flexible.
Routing\Router::$bundle = static::option($bundle, 'handles');
Router::$bundle = static::option($bundle, 'handles');
if ( ! static::routed($bundle) and file_exists($path))
{