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

View File

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