Improve BackpackForLaravel Save And Back Redirection

Backpackforlaravel save and back default redirection is the route root url. Here is the idea how to improve it.

For example,
You already did filtered your listing with some parameters.

So, your url looks like this:
http://system.com/model/?paramA=1¶mB=2

After that, you edit one of the model entry. Once you do save nd back action, you will be redirected to the route root.

Which is, like this:
http://system.com/model/

So, here is the idea how to make your save and back action really redirect you back to the filtered listing

Popular Posts