HomeController.php 633 B

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