|
|
|
@ -52,7 +52,7 @@ module WelcomeHelper
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
def topic_last_time topic
|
|
|
|
|
return topic.event_datetime unless topic.methods.to_s =~ %r[last_reply]
|
|
|
|
|
return topic.event_datetime if ( !(topic.methods.to_s =~ %r[last_reply]) && topic.last_reply.nil? )
|
|
|
|
|
topic.last_reply.event_datetime
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|