Skip to content

Commit

Permalink
Merge pull request #1169 from alphagov/remove-search-results
Browse files Browse the repository at this point in the history
Remove "Search results" functionality
  • Loading branch information
csutter authored Apr 10, 2024
2 parents f848153 + 09bc963 commit bbe06ad
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 159 deletions.
24 changes: 0 additions & 24 deletions app/controllers/results_controller.rb

This file was deleted.

5 changes: 0 additions & 5 deletions app/helpers/application_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ def navigation_items
href: recommended_links_path,
active: is_current?(recommended_links_path),
},
{
text: "Search results",
href: results_path,
active: is_current?(results_path),
},
{
text: "Similar search results",
href: new_similar_search_result_path,
Expand Down
15 changes: 0 additions & 15 deletions app/views/results/_form.html.erb

This file was deleted.

3 changes: 0 additions & 3 deletions app/views/results/index.html.erb

This file was deleted.

27 changes: 0 additions & 27 deletions app/views/results/show.html.erb

This file was deleted.

1 change: 0 additions & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
end
resources :queries
resources :recommended_links, path: "/recommended-links"
resources :results, only: %i[index show destroy]
resources(
:similar_search_results,
only: %i[new show],
Expand Down
26 changes: 0 additions & 26 deletions features/managing_results.feature

This file was deleted.

58 changes: 0 additions & 58 deletions features/step_definitions/managing_results_steps.rb

This file was deleted.

0 comments on commit bbe06ad

Please sign in to comment.