diff --git a/app/views/logs/csv_confirmation.html.erb b/app/views/logs/csv_confirmation.html.erb index 90f90813c..01cae2e63 100644 --- a/app/views/logs/csv_confirmation.html.erb +++ b/app/views/logs/csv_confirmation.html.erb @@ -9,7 +9,8 @@
Open your email inbox and click the link to download your CSV file.
- <%= govuk_link_to "Return to logs", lettings_logs_path %> + <% logs_path = controller.class.name.start_with?("Lettings") ? lettings_logs_path : sales_logs_path %> + <%= govuk_link_to "Return to logs", logs_path %>