mirror of
https://github.com/kikobar/mastodon.git
synced 2024-11-19 21:57:48 +00: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 }
|