tramway-event 1.9.27 → 1.9.27.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 254c506135da94272d3b29c64e8433408899887d076f9ddf90c500575fce39bc
4
- data.tar.gz: ccf6e8f67d7305b19d57c262a7375d7f6cee0c7a22e8f38a2f9040ff67dceff5
3
+ metadata.gz: 239e3ac28e3f32df2fa85cb6a245b42d482a353ba98ef1a4229820414f79681c
4
+ data.tar.gz: a5b78651c18e57179fa3777002c562b7e34df12e8ce50a7d576472f03cc7dd63
5
5
  SHA512:
6
- metadata.gz: 5511a2b01b04e1fcc82970f02eb620f94f3cdade6679841846400597b2647c6a61dde2fd5a3299b7da5e640d1c74bed105085dd48789efd87caee00c50a77d36
7
- data.tar.gz: a5d4093e097bbf6c56a37e6151f7723ae4bf83d907f35313df0794208c2452038fa462ecb436ba5b7e3859546c0ba1e9d6137fc37d40a4949ca5f6a18285ceef
6
+ metadata.gz: 2a68fc9b0b98670ea2c4f8afab3e53ea55cc45cf0ccba48085dce06285fd3bfd85a8d1a332c33021ec0bb9e8f3b7a67ca6a561a458725848bc43538ac677a204
7
+ data.tar.gz: 916d2f6349c945085ec32d6219f73c04d8080a87778d120572a1262815b2a6a46e4092cab6f5feef87019b8482f3151288558aef3f69098ce58d5fa1a2a8b786
@@ -74,8 +74,8 @@ class Tramway::Event::EventDecorator < ::Tramway::Core::ApplicationDecorator
74
74
 
75
75
  def events_link
76
76
  event_link = Tramway::Event::Engine.routes.url_helpers.event_path object
77
- event_url = ['molodoy.online', event_link].join
78
- content_tag(:div) do
77
+ event_url = ['http://molodoy.online', event_link].join
78
+ content_tag(:pre) do
79
79
  id = "event#{object.id}"
80
80
  concat link_to event_url, event_url, id: id
81
81
  concat copy_to_clipboard id
@@ -18,6 +18,7 @@ class Tramway::Event::ParticipantFormFieldForm < ::Tramway::Core::ExtendedApplic
18
18
 
19
19
  def submit(params)
20
20
  super(params).tap do
21
+ model.options = {} if model.options == ''
21
22
  model.options&.merge! list_field: (params[:list_field] == '1').to_s
22
23
  model.save
23
24
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module Event
5
- VERSION = '1.9.27'
5
+ VERSION = '1.9.27.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-event
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.27
4
+ version: 1.9.27.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-28 00:00:00.000000000 Z
11
+ date: 2020-01-29 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Rails engine for events
14
14
  email: