diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-05-27 15:43:44 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-05-27 15:43:44 +0300 |
commit | 246989bcca07e71bcec37886d0303a22e4da8420 (patch) | |
tree | d513615820ab83cbb46a7ec4c740842a0f6742bf /app/helpers/tree_helper.rb | |
parent | 8ab44f688f58f1a4fa07fb715f5a4958bcaf4ad4 (diff) | |
download | gitlab-ce-246989bcca07e71bcec37886d0303a22e4da8420.tar.gz |
more descriptive confirmation messages
Diffstat (limited to 'app/helpers/tree_helper.rb')
-rw-r--r-- | app/helpers/tree_helper.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/tree_helper.rb b/app/helpers/tree_helper.rb index 1f764ea1038..a8491dfe3ba 100644 --- a/app/helpers/tree_helper.rb +++ b/app/helpers/tree_helper.rb @@ -85,4 +85,8 @@ module TreeHelper file = File.join(tree.path, "..") tree_join(tree.ref, file) end + + def leave_edit_message + "Leave edit mode?\nAll unsaved changes will be lost." + end end |