Add attachments, more pages
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Tyler
2020-12-26 19:34:07 -05:00
parent d086b29bcc
commit a1ac81a73a
29 changed files with 2349 additions and 17899 deletions

View File

@ -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) ]);
}
/**