The new method redirect_back has a nil return value (line 298) if it indeed redirects back, that still causes line 286 to execute the redirect_to default causing a double-render-or-redirect-error. We explicitly only want the redirect_to default to be called when redirect_back is false, not false or nil.pull/41/head
parent
f1973e710c
commit
145f8104a0
Loading…
Reference in new issue