Skip to content

Commit

Permalink
Chore: Remove unused participant edit/update routes
Browse files Browse the repository at this point in the history
At one point in time it looks like chapter ambassadors could edit
participant data, but now they don't have this functionality, so these
routes aren't necessary because they're not being used.

Refs: #5319
  • Loading branch information
shaun-technovation committed Jan 24, 2025
1 parent 1b75be7 commit 09b9067
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
resources :accounts, only: :show, controller: :participants do
resource :chapter_account_assignments, only: [:create]
end
resources :participants, only: [:show, :edit, :update], controller: "/ambassador/participants"
resources :participants, only: [:show], controller: "/ambassador/participants"
resources :participants, only: [:index], controller: "/data_grids/ambassador/participants"
resources :unaffiliated_participants, only: [:index], controller: "/data_grids/ambassador/unaffiliated_participants"
resources :participant_sessions, only: [:show, :destroy]
Expand Down Expand Up @@ -232,7 +232,7 @@
resource :public_information, only: [:show, :edit, :update], controller: "club_public_information"

resource :club_admin, only: :show, controller: "club_admin"
resources :participants, only: [:show, :edit, :update], controller: "/ambassador/participants"
resources :participants, only: [:show], controller: "/ambassador/participants"
resources :participants, only: [:index], controller: "/data_grids/ambassador/participants"
resources :unaffiliated_participants, only: [:index], controller: "/data_grids/ambassador/unaffiliated_participants"
resources :saved_searches, only: [:show, :create, :update, :destroy]
Expand Down

0 comments on commit 09b9067

Please sign in to comment.