diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-10-02 00:10:01 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-10-02 00:10:52 +0300 |
commit | 8366ce364c3c777474adfdd3721976cb4c963030 (patch) | |
tree | 011dc497006c463c4fa0e5531dd09ff898e15346 /app/models | |
parent | 529cf138a18b33aea35aab5a7b72f705df5e2982 (diff) | |
parent | b35dd6b908c790d2724f0147d3af28dbae0a4a52 (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.rb | 2 |
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 |