mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Add Graylog settings (#10740)
* Add Graylog settings Fix order of settings Don't clobber text input when validation fails fixed spacing for setting reset/undo buttons and help * fix style
This commit is contained in:
@ -12,15 +12,17 @@ class SettingsController extends Controller
|
||||
/**
|
||||
* Display a listing of the resource.
|
||||
*
|
||||
* @param DynamicConfig $dynamicConfig
|
||||
* @param string $tab
|
||||
* @param string $section
|
||||
* @return \Illuminate\Http\Response
|
||||
*/
|
||||
public function index($tab = 'global', $section = '')
|
||||
public function index(DynamicConfig $dynamicConfig, $tab = 'global', $section = '')
|
||||
{
|
||||
$data = [
|
||||
'active_tab' => $tab,
|
||||
'active_section' => $section,
|
||||
'groups' => $dynamicConfig->getGrouped()->forget('global'),
|
||||
];
|
||||
|
||||
return view('settings.index', $data);
|
||||
|
Reference in New Issue
Block a user