@foreach(config('adminlte.plugins') as $plugin)
@if($plugin['active'] || View::getSection('plugins.' . $plugin['name']))
@foreach($plugin['files'] as $file)
{{-- Check requested file type --}}
@if($file['type'] == $type && $type == 'css')
@elseif($file['type'] == $type && $type == 'js')
@endif
@endforeach
@endif
@endforeach