Add attachments, more pages
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -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