DZUSILL
Redirect after custom action
I have a PostResource, where there is an action to top the post. After clicking the custom action "top", it creates a Payment with the current post_id what user wants to top. After the Payment is created, I have a PaymentResource, where I want the user to be redirect, or just simply show him $infolist in the PaymentResource, where are all details to pay for topping the post.
The custom action in PostResource:
The infolist (I want to show after redirect in modal) in the PaymentResource:
16 replies