refactoring.

This commit is contained in:
Taylor Otwell
2011-09-27 21:10:32 -05:00
parent ed3e3e73cc
commit c6f9734603
15 changed files with 253 additions and 178 deletions

View File

@@ -35,7 +35,7 @@ abstract class Controller {
{
if (IoC::container()->registered("laravel.{$key}"))
{
return IoC::container()->resolve("laravel.{$key}");
return IoC::container()->core($key);
}
elseif (IoC::container()->registered($key))
{