import router.
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user