mirror of
https://github.com/mastodon/mastodon
synced 2024-12-27 13:08:14 +09:00
b25e42a77f
* Remove trailing whitespace in i18n mailers * Use query methods instead of #present? on AR attributes * Delegate Status#account_domain method * Delegate Mention #account_username and #account_acct methods
5 lines
230 B
Ruby
5 lines
230 B
Ruby
node(:url) { |mention| TagManager.instance.url_for(mention.account) }
|
|
node(:acct) { |mention| mention.account_acct }
|
|
node(:id) { |mention| mention.account_id }
|
|
node(:username) { |mention| mention.account_username }
|