Commit afb8ecc3 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix syntax error

parent c8e7928e
...@@ -15,12 +15,14 @@ module MergeRequestsHelper ...@@ -15,12 +15,14 @@ module MergeRequestsHelper
end end
def new_mr_from_push_event(event, target_project) def new_mr_from_push_event(event, target_project)
return merge_request: { return {
merge_request: {
source_project_id: event.project.id, source_project_id: event.project.id,
target_project_id: target_project.id, target_project_id: target_project.id,
source_branch: event.branch_name, source_branch: event.branch_name,
target_branch: target_project.repository.root_ref target_branch: target_project.repository.root_ref
} }
}
end end
def mr_css_classes(mr) def mr_css_classes(mr)
......
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