Commit 4ed79b4d authored by Oswaldo Ferreira's avatar Oswaldo Ferreira

Rename quick actions handler

parent 6297446d
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment