This commit is contained in:
Toks
2013-04-24 08:51:23 -04:00
parent 3682067206
commit 69e5ca68bf
4 changed files with 17 additions and 2 deletions

View File

@@ -37,6 +37,10 @@ class PoolVersion < ActiveRecord::Base
User.id_to_name(updater_id)
end
def pretty_name
name.tr("_", " ")
end
def initialize_updater
self.updater_id = CurrentUser.id
self.updater_ip_addr = CurrentUser.ip_addr