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