Use the includeWhen macro

This commit is contained in:
James Brooks
2017-07-27 15:58:04 -04:00
parent 379440d3de
commit c9b4ee0ee6
15 changed files with 16 additions and 45 deletions

View File

@@ -87,7 +87,6 @@
@endif
</div>
</div>
@if ($welcome_user)
@include('dashboard.partials.welcome-modal')
@endif
@includeWhen($welcome_user, 'dashboard.partials.welcome-modal')
@stop