Adds button to send pending proposal notifications

This commit is contained in:
María Checa
2018-05-24 11:12:11 +02:00
committed by decabeza
parent d58941ef9c
commit eb8c021451
6 changed files with 57 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ class Admin::SystemEmailsController < Admin::BaseController
end
def send_pending
Notification.send_pending
Notification.delay.send_pending
flash[:notice] = t("admin.system_emails.preview_pending.send_pending_notification")
redirect_to admin_system_emails_path