laravel/laravel — pull request #1014 by jasonlewis (2012-07-27 03:04:08+00:00)
Title: Allow bundles to respond to root requests.

Just as the title says. This allows bundles to be registered to respond to root requests.

~~~~
return array(
'bundle' => array(
'handles' => '/'
)
);
~~~~

If others could test this and let me know if it is working good for them that'd be great. I've tested it a bit on a bundle I'm working on and it seems to be working.

Note that named routes that are used with things such as `URL::to_route()`, etc, are adjusted accordingly. This means you can still use the `(:bundle)` placeholder in your routes.

Signed-off-by: Jason Lewis