mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 18:29:40 +02:00
Story #109367694 - refactor user log string to user for paper trail creator_str
This commit is contained in:
parent
583d905b16
commit
e15ab3421d
2 changed files with 6 additions and 2 deletions
|
@ -3,4 +3,9 @@ class User < ActiveRecord::Base
|
|||
devise :trackable, :timeoutable
|
||||
|
||||
attr_accessor :phone
|
||||
|
||||
def string
|
||||
"#{self.id}-#{self.class}: #{self.username}"
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue