Merge branch 'master' into fix-3278

This commit is contained in:
Albert Yi
2017-12-13 14:30:08 -08:00
committed by GitHub
27 changed files with 312 additions and 79 deletions

View File

@@ -182,8 +182,8 @@ class Comment < ApplicationRecord
end
def initialize_updater
self.updater_id ||= CurrentUser.user.id
self.updater_ip_addr ||= CurrentUser.ip_addr
self.updater_id = CurrentUser.user.id
self.updater_ip_addr = CurrentUser.ip_addr
end
def creator_name