Fix bug.
This commit is contained in:
parent
7b2f354b96
commit
7711a3183e
|
@ -393,7 +393,7 @@ class Admin::AsksController < OrbitAdminController
|
|||
end
|
||||
|
||||
@ask_question.update_attributes(temp_params)
|
||||
if @ask_question.send_email?
|
||||
if @ask_question.send_email
|
||||
build_email(@ask_question)
|
||||
end
|
||||
|
||||
|
@ -424,8 +424,6 @@ class Admin::AsksController < OrbitAdminController
|
|||
"reply" => email_er.reply
|
||||
}
|
||||
)
|
||||
|
||||
OrbitMailer.set_mail(email_er.email).deliver
|
||||
end
|
||||
|
||||
def export
|
||||
|
|
Loading…
Reference in New Issue