Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ErrorException in FileViewFinder.php line 137:
- View [main] not found. (View: C:xampphtdocsstoreresourcesviewscurrenciesindex.blade.php)
- InvalidArgumentException in FileViewFinder.php line 137:
- View [main] not found.
- Route::resource('currencies', 'CurrencyController');
- public function index()
- {
- // create a variable and store all the posts in it from the database
- $currencies = Currency::orderBy('id', 'asc')->paginate(5);
- //$currencies = Currency::all();
- // return a view and pass in the above variable
- return view('currencies.index')->withCurrencies($currencies);
- }
- @extends('main')
- @section('title', '| Settings - Currencies')
- @section('content')
- @endsection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement