require routes as many times as necessary.

This commit is contained in:
Taylor Otwell 2012-02-06 16:39:54 -06:00
parent 37c06a5006
commit a4acb1c0fb
1 changed files with 2 additions and 2 deletions

View File

@ -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
@ -109,7 +109,7 @@ public static function routes($bundle)
{
if (file_exists($path = static::path($bundle).'routes'.EXT))
{
require_once $path;
require $path;
}
}