Skip to content

Commit

Permalink
Send finished button to /bo instead of root (#860)
Browse files Browse the repository at this point in the history
https://eaflood.atlassian.net/browse/RUBY-1043

I'd assumed we were redirecting the root of the old backend to /bo but that's not the case. So this makes the finished button more specific.

Not great to hardcode in /bo, I know, but we have done it elsewhere in the engine already.
  • Loading branch information
irisfaraway committed Jun 5, 2020
1 parent df8c7cc commit a2696ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/shared/_registration_finished_button.html.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<% if WasteCarriersEngine.configuration.link_from_journeys_to_dashboards == true %>
<p><%= link_to t(".next_button"), main_app.root_path, class: 'button' %></p>
<p><%= link_to t(".next_button"), "/bo", class: 'button' %></p>
<% end %>

0 comments on commit a2696ab

Please sign in to comment.