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
188a57f9
Commit
188a57f9
authored
Sep 13, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add latest changes from gitlab-org/gitlab@master
parent
40d3d574
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
config/routes/project.rb
config/routes/project.rb
+6
-0
lib/api/internal/base.rb
lib/api/internal/base.rb
+6
-0
No files found.
config/routes/project.rb
View file @
188a57f9
resources
:projects
,
only:
[
:index
,
:new
,
:create
]
Gitlab
.
ee
do
scope
"/-/push_from_secondary/:geo_node_id"
do
draw
:git_http
end
end
draw
:git_http
get
'/projects/:id'
=>
'projects#resolve'
...
...
lib/api/internal/base.rb
View file @
188a57f9
...
...
@@ -22,6 +22,10 @@ module API
# easily.
project
.
http_url_to_repo
end
def
ee_post_receive_response_hook
(
response
)
# Hook for EE to add messages
end
end
namespace
'internal'
do
...
...
@@ -265,6 +269,8 @@ module API
response
.
add_basic_message
(
project_created_message
)
end
ee_post_receive_response_hook
(
response
)
present
response
,
with:
Entities
::
InternalPostReceive
::
Response
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