HomeController.php 605 B

1234567891011121314151617181920212223
  1. <?php namespace App\Http\Controllers;
  2. class HomeController extends Controller {
  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. | $router->get('/', 'HomeController@showWelcome');
  13. |
  14. */
  15. public function index()
  16. {
  17. return view('hello');
  18. }
  19. }