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
f78512fe0a3d
Commit
759f9c74
authored
Feb 23, 2017
by
Sean McGivern
Browse files
Merge branch 'api-remove-merge-request-endpoint' into 'master'
Remove last merge_request endpoint See merge request !9470
parents
d9f70111d15a
35186dda0aab
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/api/subscriptions.rb
View file @
f78512fe
...
...
@@ -3,7 +3,6 @@ class Subscriptions < Grape::API
before
{
authenticate!
}
subscribable_types
=
{
'merge_request'
=>
proc
{
|
id
|
find_merge_request_with_access
(
id
,
:update_merge_request
)
},
'merge_requests'
=>
proc
{
|
id
|
find_merge_request_with_access
(
id
,
:update_merge_request
)
},
'issues'
=>
proc
{
|
id
|
find_project_issue
(
id
)
},
'labels'
=>
proc
{
|
id
|
find_project_label
(
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