Commit e23d58dcb9bfc4ab5404911a991c7b74a9ba3b8d
Exists in
spb-stable
and in
3 other branches
Merge branch 'improve-mr-suggestion' into 'master'
Better title suggestion for new MR
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
app/helpers/merge_requests_helper.rb
@@ -20,7 +20,7 @@ module MergeRequestsHelper | @@ -20,7 +20,7 @@ module MergeRequestsHelper | ||
20 | target_project_id: target_project.id, | 20 | target_project_id: target_project.id, |
21 | source_branch: event.branch_name, | 21 | source_branch: event.branch_name, |
22 | target_branch: target_project.repository.root_ref, | 22 | target_branch: target_project.repository.root_ref, |
23 | - title: event.branch_name.humanize | 23 | + title: event.branch_name.titleize.humanize |
24 | } | 24 | } |
25 | end | 25 | end |
26 | 26 |
app/views/projects/merge_requests/branch_from.js.haml