diff --git a/app/views/layouts/_collection_resources.html.erb b/app/views/layouts/_collection_resources.html.erb index 9da4d5a4b..d0982d489 100644 --- a/app/views/layouts/_collection_resources.html.erb +++ b/app/views/layouts/_collection_resources.html.erb @@ -6,7 +6,7 @@ <% end %>

Use the 2023 to 2024 forms for lettings that start and sales that complete between 1 April 2023 and 31 March 2024.

-<%= govuk_tabs(title: "Collection resources", classes: ["app-tab__small-headers"]) do |c| %> +<%= govuk_tabs(title: "Collection resources", classes: %w[app-tab__small-headers]) do |c| %> <% if FormHandler.instance.lettings_form_for_start_year(2024) && FormHandler.instance.lettings_form_for_start_year(2024).edit_end_date > Time.zone.today %> <% c.with_tab(label: "Lettings 24/25") do %> <%= render DocumentListComponent.new( @@ -27,7 +27,7 @@ metadata: file_type_size_and_pages("bulk-upload-lettings-specification-2024-25.xlsx"), }, ], - label: "Lettings 24/25" + label: "Lettings 24/25", ) %> <% end %> <% c.with_tab(label: "Sales 24/25") do %> @@ -49,7 +49,7 @@ metadata: file_type_size_and_pages("bulk-upload-sales-specification-2024-25.xlsx"), }, ], - label: "Sales 24/25" + label: "Sales 24/25", ) %> <% end %> <% end %> @@ -78,7 +78,7 @@ metadata: file_type_size_and_pages("bulk-upload-lettings-specification-2023-24.xlsx"), }, ], - label: "Lettings 23/24" + label: "Lettings 23/24", ) %> <% end %> <% c.with_tab(label: "Sales 23/24") do %> @@ -105,7 +105,7 @@ metadata: file_type_size_and_pages("bulk-upload-sales-specification-2023-24.xlsx"), }, ], - label: "Sales 23/24" + label: "Sales 23/24", ) %> <% end %> <% end %> diff --git a/config/routes.rb b/config/routes.rb index 3207b911f..6dcaf1d90 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -65,7 +65,6 @@ Rails.application.routes.draw do get "/download-24-25-sales-bulk-upload-template", to: "start#download_24_25_sales_bulk_upload_template" get "/download-24-25-sales-bulk-upload-specification", to: "start#download_24_25_sales_bulk_upload_specification" - get "clear-filters", to: "sessions#clear_filters" resource :account, only: %i[show edit], controller: "users" do