fixing merged form handling (without sending)
This commit is contained in:
parent
d3c23cdd74
commit
080e02a1f3
21
Gemfile.lock
21
Gemfile.lock
@ -1,6 +1,14 @@
|
||||
GIT
|
||||
remote: https://github.com/HubFeenixMakers/merged
|
||||
revision: 05ee69ce24b7c5a593b8c57c87a3e1f8e50f3b32
|
||||
remote: https://github.com/ruby2js/ruby2js/
|
||||
revision: f204f4e8f14cde6e4d4c6aafc55251a8d488a78d
|
||||
branch: haml_fix
|
||||
specs:
|
||||
ruby2js (5.0.1)
|
||||
parser
|
||||
regexp_parser (~> 2.1.1)
|
||||
|
||||
PATH
|
||||
remote: ../merged
|
||||
specs:
|
||||
merged (0.1.0)
|
||||
active_hash
|
||||
@ -11,15 +19,6 @@ GIT
|
||||
redcarpet
|
||||
ruby2js (~> 5.0, >= 5.0.1)
|
||||
|
||||
GIT
|
||||
remote: https://github.com/ruby2js/ruby2js/
|
||||
revision: f204f4e8f14cde6e4d4c6aafc55251a8d488a78d
|
||||
branch: haml_fix
|
||||
specs:
|
||||
ruby2js (5.0.1)
|
||||
parser
|
||||
regexp_parser (~> 2.1.1)
|
||||
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
|
1
config/initializers/lib.rb
Normal file
1
config/initializers/lib.rb
Normal file
@ -0,0 +1 @@
|
||||
require "form_handler"
|
@ -14,6 +14,7 @@ Rails.application.routes.draw do
|
||||
|
||||
mount Merged::Engine => "/merged" unless Rails.env.production?
|
||||
|
||||
post "/form" , to: "merged/form#post" , as: :post_form
|
||||
get "/news/:id" , to: "merged/view#page" , id: :id , as: :view_blog
|
||||
get ":id" , to: "merged/view#page" , id: :id , as: :view_page
|
||||
|
||||
|
@ -718,10 +718,12 @@
|
||||
background: white
|
||||
text_color: solid_blue
|
||||
ok_message: We'll get back to you
|
||||
:updated_at: *4
|
||||
handler: FormHandler
|
||||
:updated_at: 2023-01-21 22:39:50.207546161 +02:00
|
||||
:page_id: 6
|
||||
:index: 10
|
||||
:image_id:
|
||||
:updated_by: torsten@villataika.fi
|
||||
- :template: section_large_image
|
||||
:index: 4
|
||||
:page_id: 5
|
||||
|
Loading…
Reference in New Issue
Block a user