HomeController.php 587 B

1234567891011121314151617181920212223
  1. <?php
  2. class HomeController extends BaseController {
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Default Home Controller
  6. |--------------------------------------------------------------------------
  7. |
  8. | You may wish to use controllers instead of, or in addition to, Closure
  9. | based routes. That's great! Here is an example controller method to
  10. | get you started. To route to this controller, just add the route:
  11. |
  12. | Route::get('/', 'HomeController@showWelcome');
  13. |
  14. */
  15. public function showWelcome()
  16. {
  17. return View::make('hello');
  18. }
  19. }