Skip to content

Commit

Permalink
Change back path for start of copy cards journey (#608)
Browse files Browse the repository at this point in the history
From: https://eaflood.atlassian.net/browse/RUBY-767

This fixes a bug on the back path of the journey, which was redirecting to the root path rather than the registration's detail page
  • Loading branch information
cintamani committed Dec 17, 2019
1 parent 15e2fc3 commit ed2b572
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<%= render("waste_carriers_engine/shared/back", back_path: Rails.application.routes.url_helpers.root_path) %>
<%= render("waste_carriers_engine/shared/back", back_path: Rails.application.routes.url_helpers.registration_path(@transient_registration.reg_identifier)) %>

<div class="text">
<%= form_for(@copy_cards_form) do |f| %>
Expand Down

0 comments on commit ed2b572

Please sign in to comment.