diff options
author | Brett Walker <bwalker@gitlab.com> | 2018-04-17 12:39:11 +0300 |
---|---|---|
committer | Brett Walker <bwalker@gitlab.com> | 2018-04-17 12:39:11 +0300 |
commit | cff44b5fb96cf74c1c119511e602e3e6699b0c6f (patch) | |
tree | f30aca337e0e4d1932a4284023839db24738ded5 /app/helpers/tree_helper.rb | |
parent | a56611e3892b9039f6a8196c37d8b70a3c86c68b (diff) |
make call to 'html_escape' unambiguous
Diffstat (limited to 'app/helpers/tree_helper.rb')
-rw-r--r-- | app/helpers/tree_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/tree_helper.rb b/app/helpers/tree_helper.rb index 5e7c20ef51e..dc42caa70e5 100644 --- a/app/helpers/tree_helper.rb +++ b/app/helpers/tree_helper.rb @@ -90,7 +90,7 @@ module TreeHelper end def commit_in_single_accessible_branch - branch_name = html_escape(selected_branch) + branch_name = ERB::Util.html_escape(selected_branch) message = _("Your changes can be committed to %{branch_name} because a merge "\ "request is open.") % { branch_name: "<strong>#{branch_name}</strong>" } |