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
89159405
Commit
89159405
authored
May 29, 2017
by
Bryce Johnson
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ce-to-ee' of gitlab.com:gitlab-org/gitlab-ee into ce-to-ee
parents
ec5505f8
37988698
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
13 deletions
+0
-13
app/models/hooks/service_hook.rb
app/models/hooks/service_hook.rb
+0
-5
app/views/layouts/nav/_admin.html.haml
app/views/layouts/nav/_admin.html.haml
+0
-5
app/views/projects/hooks/edit.html.haml
app/views/projects/hooks/edit.html.haml
+0
-3
No files found.
app/models/hooks/service_hook.rb
View file @
89159405
class
ServiceHook
<
WebHook
belongs_to
:service
<<<<<<<
HEAD
def
execute
(
data
,
hook_name
=
'service_hook'
)
super
(
data
,
hook_name
)
=======
def
execute
(
data
)
WebHookService
.
new
(
self
,
data
,
'service_hook'
).
execute
>>>>>>>
ce
-
com
/
master
end
end
app/views/layouts/nav/_admin.html.haml
View file @
89159405
...
...
@@ -18,12 +18,7 @@
=
link_to
admin_broadcast_messages_path
,
title:
'Messages'
do
%span
Messages
<
<<<<<<
HEAD
=
nav_link
(
controller: :hooks
)
do
==
=====
=
nav_link
(
controller:
[
:hooks
,
:hook_logs
])
do
>
>>>>>> ce-com/master
=
link_to
admin_hooks_path
,
title:
'Hooks'
do
%span
System Hooks
...
...
app/views/projects/hooks/edit.html.haml
View file @
89159405
...
...
@@ -13,8 +13,6 @@
=
render
partial:
'shared/web_hooks/form'
,
locals:
{
form:
f
,
hook:
@hook
}
=
f
.
submit
'Save changes'
,
class:
'btn btn-create'
<
<<<<<<
HEAD
==
=====
=
link_to
'Test hook'
,
test_namespace_project_hook_path
(
@project
.
namespace
,
@project
,
@hook
),
class:
'btn btn-default'
=
link_to
'Remove'
,
namespace_project_hook_path
(
@project
.
namespace
,
@project
,
@hook
),
method: :delete
,
class:
'btn btn-remove pull-right'
,
data:
{
confirm:
'Are you sure?'
}
...
...
@@ -22,4 +20,3 @@
=
render
partial:
'projects/hook_logs/index'
,
locals:
{
hook:
@hook
,
hook_logs:
@hook_logs
,
project:
@project
}
>
>>>>>> ce-com/master
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