i am trying to add a menu to librenms which i have done by following this doc
-How to add a custom menu item
i have created a controller named CustomController and then added a route in web.php
my blade file looks like
<li class="dropdown">
<a href="{{route('custom.index')}}" class="dropdown-toggle" data-hover="dropdown" data-toggle="dropdown"><i class="fa fa-database fa-fw fa-lg fa-nav-icons hidden-md" aria-hidden="true"></i>
<span class="hidden-sm">Custom Menu</span></a>
</li>
and my route looks like
Route::get('/custom_index', 'CustomController@index')->name('custom.index');
but when i load the page i get an error saying
Route [custom.index] not defined. (View: /opt/librenms/resources/views/menu/custom.blade.php) (View: /opt/librenms/resources/views/menu/custom.blade.php) (View: /opt/librenms/resources/views/menu/custom.blade.php) (View: /opt/librenms/resources/views/menu/custom.blade.php)
how can i add a new page to this framework please assist