This commit is contained in:
1 parent
d086b29bcc
commit
a1ac81a73a
29 files changed
+2349
-17899
No files matched your search
@@ -12,7 +12,7 @@ class LocationController extends Controller {
|
||||
* @return \Illuminate\Http\Response
|
||||
*/
|
||||
public function index() {
|
||||
//
|
||||
return view('locations.index', [ 'locations' => Location::paginate(15) ]);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -47,7 +47,7 @@ class LocationController extends Controller {
|
||||
abort(404);
|
||||
}
|
||||
|
||||
return view('location', [ 'location' => $location ]);
|
||||
return view('locations.show', [ 'location' => $location, 'rows' => $location->books()->paginate(15) ]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user