diff options
author | jomo <github@jomo.tv> | 2014-04-28 03:01:33 +0200 |
---|---|---|
committer | jomo <github@jomo.tv> | 2014-04-28 03:01:33 +0200 |
commit | 65f5adf65d2cf95bc5b6c06f47cc4d4f860cc7eb (patch) | |
tree | f36397378e7527f822a0856e0c83c0ec4bd1d55d /app/models/forumthread.rb | |
parent | a6ba503e735fc32028bd9b48f2eeaada86842546 (diff) |
a TON of bugfixes and new features
Diffstat (limited to 'app/models/forumthread.rb')
-rw-r--r-- | app/models/forumthread.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/models/forumthread.rb b/app/models/forumthread.rb index 6be73dd..c6070a7 100644 --- a/app/models/forumthread.rb +++ b/app/models/forumthread.rb @@ -23,9 +23,14 @@ class Forumthread < ActiveRecord::Base end def editor + # can be nil @editor ||= user_editor end + def edited? + !!user_editor_id + end + def replies threadreplies end |