compatibility with new cmtool version
This commit is contained in:
@@ -5,7 +5,7 @@ class ContactFormsController < ApplicationController
|
||||
Notifier.contact_form(@contact_form.id).deliver_later
|
||||
redirect_to root_path, notice: t('contact_form.submitted')
|
||||
else
|
||||
redirect_to go_to_path('contact', locale: I18n.locale), alert: @contact_form.errors.full_messages.join(', ')
|
||||
redirect_to page_path('contact', locale: I18n.locale), alert: @contact_form.errors.full_messages.join(', ')
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user