Skip to content

Commit

Permalink
BAU: Tidy up unused reports controller. We now use the reporting bucket
Browse files Browse the repository at this point in the history
  • Loading branch information
willfish committed Sep 25, 2024
1 parent 9077052 commit 17456a8
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 165 deletions.
19 changes: 0 additions & 19 deletions app/controllers/reports_controller.rb

This file was deleted.

22 changes: 0 additions & 22 deletions app/models/report.rb

This file was deleted.

33 changes: 15 additions & 18 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -44,25 +44,22 @@
href: rollbacks_path,
active: active_nav_link?(/\/rollbacks/) if policy(Rollback).access? %>
<% end %>
<%= header.with_navigation_item text: 'Reports',
href: reports_path,
active: active_nav_link?(/\/reports/) %>
<% if TradeTariffAdmin::ServiceChooser.xi? %>
<%= header.with_navigation_item text: 'Category assessments',
href: green_lanes_category_assessments_path,
active: active_nav_link?(/\/category_assessments/) %>
<%= header.with_navigation_item text: 'Exemptions',
href: green_lanes_exemptions_path,
active: active_nav_link?(/\/exemptions/) %>
<%= header.with_navigation_item text: 'Measures',
href: green_lanes_measures_path,
active: active_nav_link?(/\/measures/) %>
<%= header.with_navigation_item text: 'Exempting Overrides',
href: green_lanes_exempting_overrides_path,
active: active_nav_link?(/\/exempting_overrides/) %>
<%= header.with_navigation_item text: 'Update Notifications',
href: green_lanes_update_notifications_path,
active: active_nav_link?(/\/update_notifications/) %>
<%= header.with_navigation_item text: 'Category assessments',
href: green_lanes_category_assessments_path,
active: active_nav_link?(/\/category_assessments/) %>
<%= header.with_navigation_item text: 'Exemptions',
href: green_lanes_exemptions_path,
active: active_nav_link?(/\/exemptions/) %>
<%= header.with_navigation_item text: 'Measures',
href: green_lanes_measures_path,
active: active_nav_link?(/\/measures/) %>
<%= header.with_navigation_item text: 'Exempting Overrides',
href: green_lanes_exempting_overrides_path,
active: active_nav_link?(/\/exempting_overrides/) %>
<%= header.with_navigation_item text: 'Update Notifications',
href: green_lanes_update_notifications_path,
active: active_nav_link?(/\/update_notifications/) %>
<% end %>
<% end %>

Expand Down
28 changes: 0 additions & 28 deletions app/views/reports/index.html.erb

This file was deleted.

29 changes: 0 additions & 29 deletions spec/models/report_spec.rb

This file was deleted.

49 changes: 0 additions & 49 deletions spec/requests/reports_controller_spec.rb

This file was deleted.

0 comments on commit 17456a8

Please sign in to comment.