Custom Bread with Controller

lucas-ansalone

Oct 26th, 2018 12:26 PM

Hello, i have created a new BREAD called Sells, the thing is , i dont want to use my db, i need to show everything from an external API, so i need a custom controller for this, now i need to know how to use a controller extending the current created view.

I have created inside HTTP/CONTROLLERS/SELLS/SellsController.php in this way:

bobbyiliev

Jan 4th, 2023 12:50 AM

Hi there,

I am just following up on some of the old unanswered questions on the site in case anyone comes across them in the future.

You can use a customer controller for your Voyager BREAD by following the steps here:

Voyager: Using custom Controllers

Best,

Bobby