Laravel Check User Role

Submitted by Darshan Malani - 8 years ago

Laravel in check user role after redirect view blade file...

    @if($user_type == "doctor")
        <div class="row">
    @endif
    @if($user_type == "patient")
        <div class="row" ng-show="vm.cardLayout">
    @endif