Adjust send_email field to multiple options.
This commit is contained in:
1 parent
3caa63bb46
commit
d2edc29945
6 files changed
+44
-5
No files matched your search
@@ -391,7 +391,7 @@ class Admin::AsksController < OrbitAdminController
|
||||
end
|
||||
temp_params = temp_params.merge({reviewer: current_user.member_profile, review_time: DateTime.now})
|
||||
@ask_question.update_attributes(temp_params)
|
||||
if @ask_question.send_email
|
||||
if @ask_question.send_email?
|
||||
build_email(@ask_question)
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user