Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
e0b6072caab2
Commit
b7048c09
authored
Aug 29, 2017
by
Tiago Botelho
Browse files
Backports EE 2756 logic to CE.
parent
dd5045856a7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/services/projects/create_service.rb
View file @
e0b6072c
...
...
@@ -44,6 +44,8 @@ def execute
@project
.
namespace_id
=
current_user
.
namespace_id
end
yield
(
@project
)
if
block_given?
@project
.
creator
=
current_user
if
forked_from_project_id
...
...
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