about summary refs log tree commit diff
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/api/v1/statuses/_mention.rabl4
-rw-r--r--app/views/user_mailer/confirmation_instructions.ar.text.erb2
-rw-r--r--app/views/user_mailer/confirmation_instructions.fa.text.erb4
3 files changed, 5 insertions, 5 deletions
diff --git a/app/views/api/v1/statuses/_mention.rabl b/app/views/api/v1/statuses/_mention.rabl
index 498cca275..8c95fc9bd 100644
--- a/app/views/api/v1/statuses/_mention.rabl
+++ b/app/views/api/v1/statuses/_mention.rabl
@@ -1,4 +1,4 @@
 node(:url)      { |mention| TagManager.instance.url_for(mention.account) }
-node(:acct)     { |mention| mention.account.acct }
+node(:acct)     { |mention| mention.account_acct }
 node(:id)       { |mention| mention.account_id }
-node(:username) { |mention| mention.account.username }
+node(:username) { |mention| mention.account_username }
diff --git a/app/views/user_mailer/confirmation_instructions.ar.text.erb b/app/views/user_mailer/confirmation_instructions.ar.text.erb
index 1b7b445a1..087c6a9ae 100644
--- a/app/views/user_mailer/confirmation_instructions.ar.text.erb
+++ b/app/views/user_mailer/confirmation_instructions.ar.text.erb
@@ -9,4 +9,4 @@
 
 مع أجمل التحيات،
 
-فريق <%= @instance %> 
+فريق <%= @instance %>
diff --git a/app/views/user_mailer/confirmation_instructions.fa.text.erb b/app/views/user_mailer/confirmation_instructions.fa.text.erb
index cbabed06d..904bd5bfe 100644
--- a/app/views/user_mailer/confirmation_instructions.fa.text.erb
+++ b/app/views/user_mailer/confirmation_instructions.fa.text.erb
@@ -2,11 +2,11 @@
 
 شما الان در <%= @instance %> حساب باز کردید.
 
-برای تأیید عضویت، لطفاً روی پیوند زیر کلیک کنید: 
+برای تأیید عضویت، لطفاً روی پیوند زیر کلیک کنید:
 <%= confirmation_url(@resource, confirmation_token: @token) %>
 
 لطفاً همچنین شرایط و مقررات استفادهٔ ما را هم بخوانید <%= terms_url %>
 
 با احترام،
 
-گردانندگان سرور <%= @instance %> 
+گردانندگان سرور <%= @instance %>