Skip to content
This repository was archived by the owner on Aug 13, 2020. It is now read-only.

Commit 8662ff1

Browse files
brascoderhopsoft
authored andcommitted
Display property name in events (#577)
* Display property name in events * Alias `analytics_key`
1 parent ebd4a10 commit 8662ff1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/models/concerns/properties/presentable.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ def analytics_key
1010
[id, name].compact.join ": "
1111
end
1212

13+
alias to_s analytics_key
14+
1315
def display_url
1416
url.gsub(/https?:\/\//, "")
1517
end

0 commit comments

Comments
 (0)