mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 22:33:44 +02:00
Add more front-end controllers, language file cleanup
This commit is contained in:
@@ -51,17 +51,13 @@ 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')
|
||||
->where('file', '.*');
|
||||
Route::get('/download/{file}', 'ServerController@getDownloadFile')
|
||||
->name('server.files.edit')
|
||||
->where('file', '.*');
|
||||
Route::get('/', 'Files\FileActionsController@index')->name('server.files.index');
|
||||
Route::get('/add', 'Files\FileActionsController@create')->name('server.files.add');
|
||||
Route::get('/edit/{file}', 'Files\FileActionsController@update')->name('server.files.edit')->where('file', '.*');
|
||||
Route::get('/download/{file}', 'Files\DownloadController@index')->name('server.files.edit')->where('file', '.*');
|
||||
|
||||
Route::post('/directory-list', 'AjaxController@postDirectoryList')->name('server.files.directory-list');
|
||||
Route::post('/save', 'AjaxController@postSaveFile')->name('server.files.save');
|
||||
Route::post('/directory-list', 'Files\RemoteRequestController@directory')->name('server.files.directory-list');
|
||||
Route::post('/save', 'Files\RemoteRequestController@store')->name('server.files.save');
|
||||
});
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user