Rename quick actions handler
This commit is contained in:
parent
6297446d17
commit
4ed79b4d48
2 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue