Custom Bread with Controller
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:
<?php namespace App\Http\Controllers\Sells; use Illuminate\Http\Request; use App\User; use App\Role; class SellsController extends VoyagerBreadController { } So how to get it work and see the API info on the Sells BREAD view?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

