Commit 42b9d1e0 authored by Taylor Otwell's avatar Taylor Otwell

import router.

parent ed72448f
<?php namespace Laravel; defined('DS') or die('No direct script access.'); <?php namespace Laravel; defined('DS') or die('No direct script access.');
use Laravel\Routing\Router;
use FilesystemIterator as fIterator; use FilesystemIterator as fIterator;
class Bundle { class Bundle {
...@@ -114,7 +115,7 @@ class Bundle { ...@@ -114,7 +115,7 @@ class Bundle {
// By setting the bundle property on the router the router knows what // By setting the bundle property on the router the router knows what
// value to replace the (:bundle) place-holder with when the bundle // value to replace the (:bundle) place-holder with when the bundle
// routes are added, keeping the routes flexible. // 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)) if ( ! static::routed($bundle) and file_exists($path))
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment