app/Http/Controllers/Admin/DomainController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
     */
Display a listing of the resource.
Display a listing of the resource .
public function index()
    {
        $domain = Domain::all();
        return view('Admin.domain')->with('domain',$domain);
    }
public function index ( ) { $ domain = Domain :: all ( ) ; return view ( 'Admin.domain' ) -> with ( 'domain' , $ domain ) ; }
Display a listing of the resource.
Display a listing of the resource .