How can I make sure that I load data via view composer for select views and only exclude a few, two views to be specific? Can i use a regex instead of '*'?
public function boot()
{
view()->composer(
'*',
'App\Http\ViewComposers\ProfileComposer'
);
}
There are just two views i'd like to avoid, they extend the same blade used by others, not sure declaring all the 99 others would be the best - if i can just define the ones to be left out that'd be great.