修復回覆錯誤
This commit is contained in:
parent
102a4f49cc
commit
3c36680779
app/controllers/admin
|
@ -408,7 +408,7 @@ class Admin::AsksController < OrbitAdminController
|
||||||
@mail_sentdate = DateTime.now
|
@mail_sentdate = DateTime.now
|
||||||
|
|
||||||
site = Site.first
|
site = Site.first
|
||||||
mail_from = site['title'][site['default_locale']]
|
mail_from = site.title_translations[site['default_locale']]
|
||||||
|
|
||||||
email_er.email.update_attributes(
|
email_er.email.update_attributes(
|
||||||
:mail_lang=> site['default_locale'],
|
:mail_lang=> site['default_locale'],
|
||||||
|
|
Loading…
Reference in New Issue