mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Convert device notes to blade (#11952)
This commit is contained in:
@@ -34,6 +34,12 @@ Route::group(['middleware' => ['auth'], 'guard' => 'auth'], function () {
|
||||
Route::get('authlog', 'UserController@authlog');
|
||||
Route::get('overview', 'OverviewController@index')->name('overview');
|
||||
Route::get('/', 'OverviewController@index')->name('home');
|
||||
|
||||
// Device Tabs
|
||||
Route::group(['prefix' => 'device/{device}', 'namespace' => 'Device\Tabs', 'as' => 'device.'], function () {
|
||||
Route::put('notes', 'NotesController@update')->name('notes.update');
|
||||
});
|
||||
|
||||
Route::match(['get', 'post'], 'device/{device}/{tab?}/{vars?}', 'DeviceController@index')
|
||||
->name('device')->where(['vars' => '.*']);
|
||||
|
||||
|
Reference in New Issue
Block a user