提交 da347f36 编写于 作者: R Robert Speicher

Simplify Note#editable?

上级 7c20f30f
......@@ -366,6 +366,6 @@ class Note < ActiveRecord::Base
end
def editable?
!read_attribute(:system)
!system?
end
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册