Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
666 B
1
Indexable
Never
<?php

namespace App\Http\Controllers;

use App\Models\User;
use App\Models\About;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Carbon\Carbon;
use Illuminate\Support\Facades\Hash;
use Image;

class UserController extends Controller
{
    /**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
    public function index()
    {
        $abouts=About::all();
        return  view('dashboard',compact('abouts'));
    //   $last_login_at = date('Y-m-d H:i:s'); 
    //    $id=Auth::user()->id;
    //    $admin=User::find($id);
       return view('Admin.index');
    }
}