app/Http/Controllers/Admin/SizeController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $categories = $this->category->get();
        return view('admin.web.masterData.size.index', compact('categories'));
    }
public function index ( ) { $ categories = $ this -> category -> get ( ) ; return view ( 'admin.web.masterData.size.index' , compact ( 'categories' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .