Let route names and tables move, and add manager:import
This commit is contained in:
1 parent
984024eb85
commit
60ad85a621
45 files changed
+491
-73
No files matched your search
@@ -2,6 +2,7 @@
|
||||
|
||||
use Illuminate\Support\Facades\Route;
|
||||
use IriksIT\Manager\Modules\Media\MediaFileController;
|
||||
use IriksIT\Manager\Support\Names;
|
||||
|
||||
// Files of the media library, for visitors. No session and no cookies: this is a file, not a
|
||||
// page, and the browser may cache it for good. The address ends in /view on purpose: web servers
|
||||
@@ -9,4 +10,4 @@ use IriksIT\Manager\Modules\Media\MediaFileController;
|
||||
Route::get('/media-files/{media}/{filename}/view', MediaFileController::class)
|
||||
->whereNumber('media')
|
||||
->middleware('throttle:media-files')
|
||||
->name('manager.media.file');
|
||||
->name(Names::route('media.file'));
|
||||
Reference in new issue
Block a user