In 5.0 it was redirect()->back()
But from 5.1 it seems to be changed to just return back();
This doesn't explain why it works with mm of course. Can you tell more about what you try to redirect from and to? I can't see any other mistakes from the code provided.
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us
The Laravel portal for problem solving, knowledge sharing and community building.