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
eefcffc3
Commit
eefcffc3
authored
Dec 12, 2017
by
Francisco Javier López
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update projects.rb
parent
a0166866
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
lib/api/projects.rb
lib/api/projects.rb
+0
-8
No files found.
lib/api/projects.rb
View file @
eefcffc3
...
@@ -380,19 +380,11 @@ module API
...
@@ -380,19 +380,11 @@ module API
authenticated_as_admin!
authenticated_as_admin!
fork_from_project
=
find_project!
(
params
[
:forked_from_id
])
fork_from_project
=
find_project!
(
params
[
:forked_from_id
])
<<<<<<<
HEAD
not_found!
(
"Source Project"
)
unless
fork_from_project
not_found!
(
"Source Project"
)
unless
fork_from_project
result
=
::
Projects
::
ForkService
.
new
(
fork_from_project
,
current_user
).
execute
(
user_project
)
result
=
::
Projects
::
ForkService
.
new
(
fork_from_project
,
current_user
).
execute
(
user_project
)
=======
not_found!
(
"Source Project"
)
unless
fork_from_project
result
=
::
Projects
::
ForkService
.
new
(
fork_from_project
,
current_user
).
execute
(
user_project
)
>>>>>>>
upstream
/
master
if
result
if
result
present
user_project
.
reload
,
with:
Entities
::
Project
present
user_project
.
reload
,
with:
Entities
::
Project
else
else
...
...
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