Skip to content

Commit

Permalink
Remove obsolete site roles and routes (#2080)
Browse files Browse the repository at this point in the history
The site/roles route is obsolete. This is an attempt to remove as much
of the obsolete logic as possible, as it has been replaced by the groups
with roles feature.
  • Loading branch information
laritakr committed Dec 20, 2023
1 parent 57bf77c commit f50b3f5
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 187 deletions.
34 changes: 0 additions & 34 deletions app/controllers/roles_controller.rb

This file was deleted.

36 changes: 0 additions & 36 deletions app/views/roles/index.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 @@ -43,7 +43,6 @@

mount BrowseEverything::Engine => '/browse'
resource :site, only: [:update] do
resources :roles, only: %i[index update]
resource :labels, only: %i[edit update]
end

Expand Down
69 changes: 0 additions & 69 deletions spec/controllers/roles_controller_spec.rb

This file was deleted.

31 changes: 0 additions & 31 deletions spec/features/roles_spec.rb

This file was deleted.

16 changes: 0 additions & 16 deletions spec/routing/roles_routing_spec.rb

This file was deleted.

0 comments on commit f50b3f5

Please sign in to comment.