mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-01 08:46:26 +01: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 }
|