solidusio-contrib / solidus_paypal_marketplace

BSD 3-Clause "New" or "Revised" License
4 stars 3 forks source link

Utilize Rails redirect helpers #103

Closed cpfergus1 closed 1 year ago

cpfergus1 commented 2 years ago

Description

Removes #redirect_back_or_default in favor of Rails #redirect_back and #redirect_back_or_to

Motivation and Context

Rails introduced redirect_back in rails 5+ and redirect_back_or_to in rails 7+. These methods should be utilized instead of the redirect method created by Soldius, which similarly replicates the functionality of the deprecated method. The method #redirect_back_or_default will be deprecated in Solidus PR #4533

How Has This Been Tested?

The current test suite covers the changes made in the PR

Types of changes

Checklist:

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It might be closed if no further activity occurs. Thank you for your contributions.

kennyadsl commented 1 year ago

Closing, https://github.com/solidusio/solidus/pull/4533 has been reverted.