forked from Alex/Pterodactyl-Panel
Fix broken route causing inability to edit files within directory.
This commit is contained in:
parent
7ef2368f9f
commit
60f3f2c5e5
@ -3,6 +3,10 @@ This file is a running track of new features and fixes to each version of the pa
|
||||
|
||||
This project follows [Semantic Versioning](http://semver.org) guidelines.
|
||||
|
||||
## v0.6.0-beta.2 (Courageous Carniadactylus)
|
||||
### Fixed
|
||||
* `[beta.2]` — Fixes filemanager 404 when editing a file within a directory.
|
||||
|
||||
## v0.6.0-beta.2 (Courageous Carniadactylus)
|
||||
### Fixed
|
||||
* `[beta.1]` — Fixes task management ststem not running correctly.
|
||||
|
@ -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…
Reference in New Issue
Block a user