php - Bootstrap Sidebar on Laravel 5 specific page only -
i'm pretty new bootstrap , i'm making laravel app. , want make left sidebar on page. don't want edit app.blade.php
because don't want make sidebar on pages, on specific page. code:
and page looks
@if(request::url() == url() . '/your/url/goes/here') @include('whatever-you-wish-here') @endif
this go in base view other views extend.
so in case assume app.blade.php
Comments
Post a Comment