コード例 #1
0
 /**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index(Provider $providerModel)
 {
     $providers = $providerModel->getProviders();
     return view('providers.index')->with('title', 'Поставщики')->with('providers', $providers);
 }