Commit 40c2023c3e6dfbbf477993a1eedac293532962ed

Authored by Karpikau Andrei
1 parent 7c1a6252

check send form

@@ -2,7 +2,7 @@ module Kanjai @@ -2,7 +2,7 @@ module Kanjai
2 class FormController < SiteController 2 class FormController < SiteController
3 def index 3 def index
4 option = {} 4 option = {}
5 - Kanjai::PageContentMarker.where(page_content_id: params[:page_content_id].to_i).each do |item| 5 + Kanjai::PageContentMarker.where(page_content_id: params[:page_content_id].to_i, marker: '###FORM_ACTION###').each do |item|
6 option[:subject] = item.form_subject 6 option[:subject] = item.form_subject
7 option[:body] = item.form_body 7 option[:body] = item.form_body
8 option[:to] = item.to_mail 8 option[:to] = item.to_mail
1 module Kanjai 1 module Kanjai
2 - VERSION = "0.0.108" 2 + VERSION = "0.0.109"
3 end 3 end