Storing url in DB.
This commit is contained in:
parent
fd1de5971b
commit
ae92892504
@ -7,5 +7,5 @@ url
|
||||
temp ifNil: [ ^ url := nil ].
|
||||
temp := temp replaceAll: $Ú with: $u.
|
||||
temp := temp replaceAll: $í with: $i.
|
||||
url := temp asUrl.
|
||||
url := temp.
|
||||
]
|
@ -9,4 +9,5 @@ reStoreDefinition
|
||||
define: #profileBio as: String;
|
||||
define: #description as: String;
|
||||
define: #createdAt as: DateAndTime;
|
||||
define: #url as: String;
|
||||
yourself.
|
@ -1,4 +1,4 @@
|
||||
accessing
|
||||
guiLinkLabel
|
||||
self url ifNil: [^ ''].
|
||||
^ (self url asString copyReplaceAll: self url scheme, '://' with: '') allButLast
|
||||
^ (self url asString copyReplaceAll: self url asUrl scheme, '://' with: '') allButLast
|
Loading…
Reference in New Issue
Block a user