Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-10-02 00:10:01 +0300
committerRobert Speicher <rspeicher@gmail.com>2015-10-02 00:10:52 +0300
commit8366ce364c3c777474adfdd3721976cb4c963030 (patch)
tree011dc497006c463c4fa0e5531dd09ff898e15346 /app/models
parent529cf138a18b33aea35aab5a7b72f705df5e2982 (diff)
parentb35dd6b908c790d2724f0147d3af28dbae0a4a52 (diff)
Merge branch 'rs-update-note' into 'master'
Ensure updated notes are syntax highlighted See merge request !1444
Diffstat (limited to 'app/models')
-rw-r--r--app/models/note.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/note.rb b/app/models/note.rb
index 89d81ab1de2..de3b6df88f7 100644
--- a/app/models/note.rb
+++ b/app/models/note.rb
@@ -366,6 +366,6 @@ class Note < ActiveRecord::Base
end
def editable?
- !read_attribute(:system)
+ !system?
end
end