Commit da347f36 authored by Robert Speicher's avatar Robert Speicher

Simplify Note#editable?

parent 7c20f30f
...@@ -366,6 +366,6 @@ class Note < ActiveRecord::Base ...@@ -366,6 +366,6 @@ class Note < ActiveRecord::Base
end end
def editable? def editable?
!read_attribute(:system) !system?
end end
end 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