Been facing an issue all week and I know it's probably simple but can't seem to figure it out :(
whenever I use in my custom package
return redirect('redirectToRoute');
all I get is a white screen if I use
dd(redirect('redirectToRoute'));
I can see the status is a 302 works perfectly fine outside of my package within the app folder but not inside my custom package what am I doing wrong?