Voyager - laravel admin panel
<p>My question is related to controller in Voyager admin panel. For example I created a table with migration . It's name was "groups" and then I created BREAD and added it to menu in Voyager.</p>

<p>I created a folder that it's name is "groups" in \resources\views\vendor\voyager andthen I created two file to override the view.</p>

<p>But I do not know where the controller is . I created controller with php artisan make:controller GroupsController. I guess this controller is not related to voyager controllers.</p>

<p>I want to change the index or create method and pass some data to views in controller but I do not know where it is.</p>

<p>I created a controller in \vendor\tcg\voyager\src\Http\Controllers that it's name is VoyagerGroupsController.php but when I create class and index method in it , it does not work.</p>

<p>How can I create controller for "groups" and pass the data to the view?</p>