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
4ed79b4d
Commit
4ed79b4d
authored
Mar 05, 2018
by
Oswaldo Ferreira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename quick actions handler
parent
6297446d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
app/services/issuable_base_service.rb
app/services/issuable_base_service.rb
+2
-2
app/services/merge_requests/create_service.rb
app/services/merge_requests/create_service.rb
+1
-1
No files found.
app/services/issuable_base_service.rb
View file @
4ed79b4d
...
...
@@ -109,7 +109,7 @@ class IssuableBaseService < BaseService
@available_labels
||=
LabelsFinder
.
new
(
current_user
,
project_id:
@project
.
id
).
execute
end
def
handle_quick_actions
(
issuable
)
def
handle_quick_actions
_on_create
(
issuable
)
merge_quick_actions_into_params!
(
issuable
)
end
...
...
@@ -135,7 +135,7 @@ class IssuableBaseService < BaseService
end
def
create
(
issuable
)
handle_quick_actions
(
issuable
)
handle_quick_actions
_on_create
(
issuable
)
filter_params
(
issuable
)
params
.
delete
(
:state_event
)
...
...
app/services/merge_requests/create_service.rb
View file @
4ed79b4d
...
...
@@ -35,7 +35,7 @@ module MergeRequests
end
# Override from IssuableBaseService
def
handle_quick_actions
(
merge_request
)
def
handle_quick_actions
_on_create
(
merge_request
)
super
handle_wip_event
(
merge_request
)
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