Refactored transactions to redirect with turbolinks