wip
This commit is contained in:
parent
b3b63a0791
commit
a89c2690a1
@ -19,7 +19,7 @@ public function index()
|
||||
public function details()
|
||||
{
|
||||
$this->decodeKeys();
|
||||
$study = Study::findOrFail($this->key);
|
||||
$study = Study::with(['series', 'details'])->findOrFail($this->key);
|
||||
|
||||
return view('staff.studies.details', compact('study'));
|
||||
}
|
||||
|
@ -30,7 +30,7 @@
|
||||
|
||||
'main' => [
|
||||
'salt' => 'Nqy+T6emZLbhzW08gaZqWEtgEv/habWV4zWYWREv2wM=',
|
||||
'length' => 0,
|
||||
'length' => 8,
|
||||
// 'alphabet' => 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890'
|
||||
],
|
||||
|
||||
|
@ -28,7 +28,7 @@
|
||||
|
||||
Route::group(['prefix' => '/studies', 'as' => 'studies.'], function () {
|
||||
Route::get('/', [StudiesController::class, 'index'])->name('index');
|
||||
Route::get('/details/{id}', [StudiesController::class, 'details'])->name('details');
|
||||
Route::get('{hashid}/details', [StudiesController::class, 'details'])->name('details');
|
||||
});
|
||||
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user