Redirect some deprecated repository routes
What does this MR do?
Few things:
- Move most of routes from
repository.rb
torepository_scoped.rb
- Add redirect for deprecated routes. Ex
/commits/master
to/-/commits/master
. - Keep serving routes
raw
,blame
,blob
andtree
in both scopes. Ex both/blob
and/-/blob
For #118849 (closed)
Next step will be rename repository.rb
to repository_deprecated.rb
.
Does this MR meet the acceptance criteria?
Conformity
Edited by Dmytro Zaporozhets (DZ)