Custom Bread with Controller

Posted In Voyager
  • lucas-ansalone 9 months ago
    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?

    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:

Please login or signup to leave a response.

Login

or Sign Up

Sign Up

or Login
×
tnylea
Cheers Friend!

I'm Tony, the creator of this site. I'm trying to increase my twitter following. Want to follow me?

Follow @tnylea If not, no worries :)