Skip to content

Commit

Permalink
Remove unused scheduler/people files
Browse files Browse the repository at this point in the history
roster/people should be the only routes used, and indeed are the only
routes used.  But in Issue #190, we are updating how those look, and
these come up as duplicates.  Instead of modifying both places, remove
these and remove them from the routes.
  • Loading branch information
Frank Duncan committed Jul 4, 2020
1 parent ca09ec2 commit 4ffffe0
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 190 deletions.
72 changes: 0 additions & 72 deletions app/views/scheduler/people/_form.html.haml

This file was deleted.

4 changes: 0 additions & 4 deletions app/views/scheduler/people/edit.html.haml

This file was deleted.

4 changes: 0 additions & 4 deletions app/views/scheduler/people/new.html.haml

This file was deleted.

108 changes: 0 additions & 108 deletions app/views/scheduler/people/show.html.haml

This file was deleted.

1 change: 0 additions & 1 deletion app/views/scheduler/people/show.json.jbuilder

This file was deleted.

2 changes: 1 addition & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
get :me, on: :collection
end
resources :flex_schedules, only: [:index, :show, :update]
resources :people do
resources :people, only: [:index] do
resources :shift_assignments
end
resources :dispatch_config, except: [:new, :create, :destroy]
Expand Down

0 comments on commit 4ffffe0

Please sign in to comment.