Пример #1
0
 /**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index(Currency $currencyModel)
 {
     $values = $currencyModel->getAllRates();
     if (!$values) {
         abort(404);
     }
     return view('currency.index')->with('title', 'Валюты')->with('values', $values);
 }