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
6309b1c3
Commit
6309b1c3
authored
Apr 02, 2019
by
Vladimir Shushlin
Committed by
Filipa Lacerda
Apr 02, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add route for environments cross-project dashboard
parent
b2a39013
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
ee/app/controllers/operations_controller.rb
ee/app/controllers/operations_controller.rb
+4
-0
ee/config/routes/operations.rb
ee/config/routes/operations.rb
+1
-0
No files found.
ee/app/controllers/operations_controller.rb
View file @
6309b1c3
...
@@ -10,6 +10,10 @@ class OperationsController < ApplicationController
...
@@ -10,6 +10,10 @@ class OperationsController < ApplicationController
def
index
def
index
end
end
def
environments
render
:index
end
def
list
def
list
Gitlab
::
PollingInterval
.
set_header
(
response
,
interval:
POLLING_INTERVAL
)
Gitlab
::
PollingInterval
.
set_header
(
response
,
interval:
POLLING_INTERVAL
)
projects
=
load_projects
(
current_user
)
projects
=
load_projects
(
current_user
)
...
...
ee/config/routes/operations.rb
View file @
6309b1c3
# frozen_string_literal: true
# frozen_string_literal: true
get
'operations'
=>
'operations#index'
get
'operations'
=>
'operations#index'
get
'operations/environments'
=>
'operations#environments'
get
'operations/list'
=>
'operations#list'
get
'operations/list'
=>
'operations#list'
post
'operations'
=>
'operations#create'
,
as: :add_operations_project
post
'operations'
=>
'operations#create'
,
as: :add_operations_project
delete
'operations'
=>
'operations#destroy'
,
as: :remove_operations_project
delete
'operations'
=>
'operations#destroy'
,
as: :remove_operations_project
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