Skip to content

Commit

Permalink
require routes as many times as necessary.
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Feb 6, 2012
1 parent 37c06a5 commit a4acb1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions laravel/bundle.php
Expand Up @@ -86,7 +86,7 @@ public static function start($bundle)
// dependent bundles so that they are available.
if (file_exists($path = static::path($bundle).'bundle'.EXT))
{
require_once $path;
require $path;
}

// Each bundle may also have a "routes" file which is responsible for
Expand All @@ -109,7 +109,7 @@ public static function routes($bundle)
{
if (file_exists($path = static::path($bundle).'routes'.EXT))
{
require_once $path;
require $path;
}
}

Expand Down

0 comments on commit a4acb1c

Please sign in to comment.