Fix broken route causing inability to edit files within directory.
This commit is contained in:
parent
7ef2368f9f
commit
60f3f2c5e5
2 changed files with 7 additions and 1 deletions
|
@ -53,7 +53,9 @@ Route::group(['prefix' => 'settings'], function () {
|
|||
Route::group(['prefix' => 'files'], function () {
|
||||
Route::get('/', 'ServerController@getFiles')->name('server.files.index');
|
||||
Route::get('/add', 'ServerController@getAddFile')->name('server.files.add');
|
||||
Route::get('/edit/{file}', 'ServerController@getEditFile')->name('server.files.edit');
|
||||
Route::get('/edit/{file}', 'ServerController@getEditFile')
|
||||
->name('server.files.edit')
|
||||
->where('file', '.*');
|
||||
Route::get('/download/{file}', 'ServerController@getDownloadFile')
|
||||
->name('server.files.edit')
|
||||
->where('file', '.*');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue