Skip to content

Commit

Permalink
remove unversioned routes
Browse files Browse the repository at this point in the history
  • Loading branch information
ndushay committed Feb 11, 2020
1 parent c6d6bdd commit 2f66c8a
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,4 @@
end
end
end

# TODO: Remove these when all clients are using the version-scoped routes above
post '/catalog', to: redirect('/v1/catalog')
match '/catalog/:druid', to: redirect('/v1/catalog/%{druid}'), via: %i[patch put]
get '/objects/:id/checksum', to: redirect('/v1/objects/%{id}/checksum')
get '/objects/:id/file', to: redirect('/v1/objects/%{id}/file')
post '/objects/:id/content_diff', to: redirect('/v1/objects/%{id}/content_diff')
match '/objects/checksums', to: redirect('/v1/objects/checksums'), via: %i[get post]
get '/objects/:id', to: redirect('/v1/objects/%{id}')
end

0 comments on commit 2f66c8a

Please sign in to comment.