Working on routing and providers.

This commit is contained in:
Taylor Otwell
2014-10-14 20:07:12 -05:00
parent 5bb0752338
commit d3bf13b10b
4 changed files with 36 additions and 36 deletions

View File

@@ -4,19 +4,17 @@ class HomeController {
/*
|--------------------------------------------------------------------------
| Default Home Controller
| Home Controller
|--------------------------------------------------------------------------
|
| You may wish to use controllers instead of, or in addition to, Closure
| based routes. That's great! Here is an example controller method to
| get you started. To route to this controller, just add the route:
|
| $router->get('/', 'HomeController@index');
| Controller methods are called when a request enters the application
| with their assigned URI. The URI a method responds to may be set
| via simple annotations. Here is an example to get you started!
|
*/
/**
* @Get("/", as="home")
* @Get("/")
*/
public function index()
{