Advertisement
fadlyshafa

Untitled

Feb 29th, 2020
649
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.53 KB | None | 0 0
  1. <?php
  2.  
  3. namespace App\Http\Controllers;
  4.  
  5. use Illuminate\Http\Request;
  6.  
  7. class HomeController extends Controller
  8. {
  9.     /**
  10.      * Create a new controller instance.
  11.      *
  12.      * @return void
  13.      */
  14.     public function __construct()
  15.     {
  16.         $this->middleware('auth');
  17.     }
  18.  
  19.     /**
  20.      * Show the application dashboard.
  21.      *
  22.      * @return \Illuminate\Contracts\Support\Renderable
  23.      */
  24.     public function index()
  25.     {
  26.         $title = 'Beranda Admin';
  27.         return view('home',compact('title'));
  28.     }
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement