/**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     if (Auth::check()) {
         $namakriminalitasku = NamaKriminalitas::all();
         return view('namakriminalitas.index')->with('namakriminalitas', $namakriminalitasku);
     } else {
         return Redirect::to('/auth/login');
     }
 }