This commit is contained in:
2026-02-08 20:00:34 -05:00
parent f0c561311f
commit a1c1a0c34e
4 changed files with 14 additions and 5 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ class ContactFormsController < ApplicationController
@contact_form = Cmtool::ContactForm.new(contact_form_params)
if @contact_form.save
Notifier.contact_form(@contact_form.id).deliver_later
redirect_to root_path, notice: t('contact_form.submitted')
redirect_to root_path, notice: t('website.contact_form.submitted')
else
redirect_to page_path('contact', locale: I18n.locale), alert: @contact_form.errors.full_messages.join(', ')
end