mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07: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
4 lines
230 B
Ruby
4 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 }
|