Laravel Check User Role

Submitted by Darshan Malani - 11 months 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

Ads cover the costs of maintaining Laravel-tricks

comments powered by Disqus

Ads cover the costs of maintaining Laravel-tricks