Commit 483c0a82 authored by Kirstie Cook's avatar Kirstie Cook

Update string to be consistent

parent 915665a4
......@@ -28,7 +28,7 @@ module Metrics
def check_branch_name(result)
return error(_(%q(There was an error updating the dashboard, branch name is invalid.)), :bad_request) unless valid_branch_name?
return error(_('There was an error updating the dashboard, branch named: %{branch} already exists.') % { branch: params[:branch] }, :bad_request) unless new_or_default_branch?
return error(_(%q(There was an error updating the dashboard, branch named: %{branch} already exists.)) % { branch: params[:branch] }, :bad_request) unless new_or_default_branch?
success(result)
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