Fix broken route causing inability to edit files within directory.

This commit is contained in:
Dane Everitt 2017-04-16 13:18:51 -04:00
parent 7ef2368f9f
commit 60f3f2c5e5
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53
2 changed files with 7 additions and 1 deletions

View File

@ -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.

View File

@ -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', '.*');