Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
68d4fad3
Commit
68d4fad3
authored
Sep 15, 2020
by
Magdalena Frankiewicz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove deprecated routes to instance statistics
And its test
parent
1922007e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
15 deletions
+0
-15
config/routes.rb
config/routes.rb
+0
-4
spec/routing/instance_statistics_routing_spec.rb
spec/routing/instance_statistics_routing_spec.rb
+0
-11
No files found.
config/routes.rb
View file @
68d4fad3
...
@@ -69,10 +69,6 @@ Rails.application.routes.draw do
...
@@ -69,10 +69,6 @@ Rails.application.routes.draw do
# Begin of the /-/ scope.
# Begin of the /-/ scope.
# Use this scope for all new global routes.
# Use this scope for all new global routes.
scope
path:
'-'
do
scope
path:
'-'
do
# remove in 13.5
get
'/instance_statistics'
,
to:
redirect
(
'admin/dev_ops_report'
)
get
'/instance_statistics/dev_ops_score'
,
to:
redirect
(
'admin/dev_ops_report'
)
get
'/instance_statistics/cohorts'
,
to:
redirect
(
'admin/cohorts'
)
# Autocomplete
# Autocomplete
get
'/autocomplete/users'
=>
'autocomplete#users'
get
'/autocomplete/users'
=>
'autocomplete#users'
get
'/autocomplete/users/:id'
=>
'autocomplete#user'
get
'/autocomplete/users/:id'
=>
'autocomplete#user'
...
...
spec/routing/instance_statistics_routing_spec.rb
deleted
100644 → 0
View file @
1922007e
# frozen_string_literal: true
require
'spec_helper'
RSpec
.
describe
'Instance Statistics'
,
'routing'
do
include
RSpec
::
Rails
::
RequestExampleGroup
it
"routes '/-/instance_statistics' to dev ops report"
do
expect
(
get
(
'/-/instance_statistics'
)).
to
redirect_to
(
'/admin/dev_ops_report'
)
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment