mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-28 19:10:40 +00:00
get shared via route model binding refactoring
This commit is contained in:
+2
-2
@@ -14,9 +14,9 @@ Route::get('/invoice/{customer}/{token}', [InvoiceController::class, 'show'])->m
|
||||
|
||||
// Get og site for web crawlers
|
||||
if (Crawler::isCrawler()) {
|
||||
Route::get('/shared/{token}', [AppFunctionsController::class, 'og_site']);
|
||||
Route::get('/shared/{shared}', [AppFunctionsController::class, 'og_site']);
|
||||
} else {
|
||||
Route::get('/shared/{token}', [ServeSharedController::class, 'index']);
|
||||
Route::get('/shared/{shared}', [ServeSharedController::class, 'index']);
|
||||
}
|
||||
|
||||
// Show index.blade
|
||||
|
||||
Reference in New Issue
Block a user