Skip to content
Snippets Groups Projects
Commit 0b7d70a3 authored by Rubén Dávila's avatar Rubén Dávila Committed by Robert Speicher
Browse files

Use #iid for revert branch name so it's consistent when the MR id in the URL.

parent e1a3c8cd
No related branches found
No related tags found
No related merge requests found
Loading
@@ -535,6 +535,6 @@ class MergeRequest < ActiveRecord::Base
Loading
@@ -535,6 +535,6 @@ class MergeRequest < ActiveRecord::Base
end end
   
def revert_branch_name def revert_branch_name
"revert-#{id}-#{target_branch}" "revert-#{iid}-#{target_branch}"
end end
end end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment