summaryrefslogtreecommitdiff
path: root/app/services/files/base_service.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-12-08 22:30:40 +0100
committerDouwe Maan <douwe@gitlab.com>2015-12-08 22:30:40 +0100
commit57d71520bdc2ba79ba8182802cd944d4fb42a192 (patch)
tree0505c4ea7ce0a5ae53d9baeeedf0efac713b4e33 /app/services/files/base_service.rb
parent7aeb7077cb906933c59e5b890fd4027005e34d3d (diff)
downloadgitlab-ce-57d71520bdc2ba79ba8182802cd944d4fb42a192.tar.gz
Make tooltip less confusing
Diffstat (limited to 'app/services/files/base_service.rb')
-rw-r--r--app/services/files/base_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/files/base_service.rb b/app/services/files/base_service.rb
index 309abcd6d0b..9a67b160940 100644
--- a/app/services/files/base_service.rb
+++ b/app/services/files/base_service.rb
@@ -53,7 +53,7 @@ module Files
unless project.empty_repo?
unless repository.branch_names.include?(@current_branch)
- raise_error("You can only create or edit files when you are on top of a branch")
+ raise_error("You can only create or edit files when you are on a branch")
end
if @current_branch != @target_branch