You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Minor issue, but the case when changing plan to the existing/same plan is not properly routed and causes a missing template error. The simple work around was to add another condition statement in the registrations controller so that when the "plan == current_user.plan" a flash message of something like.... "Must choose a different plan...." appears and then renders the ":edit" page again. As it stands, the registration controller's "change plan" method only accounts for cases that fall under the "unless plan == current_user.plan" condition. I understand that this may be outside of the scope of the project and it is a trivial "fit and finish" concern, but I thought I would mention it since it is a relatively simple fix, depending on the best practice for implementation, of which my workaround is probably not.
The text was updated successfully, but these errors were encountered:
Minor issue, but the case when changing plan to the existing/same plan is not properly routed and causes a missing template error. The simple work around was to add another condition statement in the registrations controller so that when the "plan == current_user.plan" a flash message of something like.... "Must choose a different plan...." appears and then renders the ":edit" page again. As it stands, the registration controller's "change plan" method only accounts for cases that fall under the "unless plan == current_user.plan" condition. I understand that this may be outside of the scope of the project and it is a trivial "fit and finish" concern, but I thought I would mention it since it is a relatively simple fix, depending on the best practice for implementation, of which my workaround is probably not.
The text was updated successfully, but these errors were encountered: