Skip to content

Commit

Permalink
Remove StatsController, StatsContainer, and routes
Browse files Browse the repository at this point in the history
Remove everything related to `StatsController`, `StatsContainer, the
stats route, and the show file.

We are essentially undoing parts of this commit:
ef1dd8c

The functionality of DispatchStats, CertificationStats, and the
StatsContainer have all be deprecated but were not fully removed.
This commit (and PR) removes the deprecated items.
  • Loading branch information
brandondorner committed Jul 12, 2023
1 parent 02d58ee commit 256b748
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 75 deletions.
10 changes: 0 additions & 10 deletions app/controllers/stats_controller.rb

This file was deleted.

11 changes: 0 additions & 11 deletions app/views/stats/show.html.erb

This file was deleted.

49 changes: 0 additions & 49 deletions client/app/containers/stats/StatsContainer.jsx

This file was deleted.

3 changes: 0 additions & 3 deletions client/app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ import Error403 from 'app/errors/Error403';
import Unauthorized from 'app/containers/Unauthorized';
import OutOfService from 'app/containers/OutOfService';
import Feedback from 'app/containers/Feedback';
import StatsContainer from 'app/containers/stats/StatsContainer';
import Login from 'app/login';
import TestUsers from 'app/test/TestUsers';
import TestData from 'app/test/TestData';
Expand Down Expand Up @@ -77,7 +76,6 @@ const COMPONENTS = {
OutOfService,
Unauthorized,
Feedback,
StatsContainer,
Hearings,
PerformanceDegradationBanner,
Help,
Expand Down Expand Up @@ -131,7 +129,6 @@ const componentWrapper = (component) => (props, railsContext, domNodeId) => {
'./login/index',
'./test/TestUsers',
'./test/TestData',
'./containers/stats/StatsContainer',
'./certification/Certification',
'./manageEstablishClaim/ManageEstablishClaim',
'./hearings/index',
Expand Down
2 changes: 0 additions & 2 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -359,8 +359,6 @@

get 'whats-new' => 'whats_new#show'

get 'stats', to: 'stats#show'

match '/intake/:any' => 'intakes#index', via: [:get]

get "styleguide", to: "styleguide#show"
Expand Down

0 comments on commit 256b748

Please sign in to comment.