tramway-event 1.12.4 → 1.12.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/decorators/tramway/event/event_decorator.rb +3 -2
- data/lib/tramway/event/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d121186f0802faa7e890e235cd07afc828636b586bf671053c3b4a83bf9fda09
|
4
|
+
data.tar.gz: 81be3b2a3f82064665b338c99e35efcbe464fb19fc1127963c122f733e3ce573
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6068964cbc7cf4a881b66b0ade16906cd3bc9ecb83e51cfe1e003a12965086e11070cec129f9e73ee9d74b90cf28241f6f6cc26ba1adcfbd248dc79166ea0857
|
7
|
+
data.tar.gz: b1bf89d6baa2848dbfd91f25bbe62e487a6985eede76579e241254d186d5760668bdbfc199666466f8ac0ae7b83162fadece825e33b7e4565fdecc43edf627ce
|
@@ -11,7 +11,7 @@ class Tramway::Event::EventDecorator < ::Tramway::Core::ApplicationDecorator
|
|
11
11
|
end
|
12
12
|
|
13
13
|
def show_associations
|
14
|
-
%i[participant_form_fields actions sections]
|
14
|
+
%i[participant_form_fields actions sections partakings]
|
15
15
|
end
|
16
16
|
|
17
17
|
def list_attributes
|
@@ -20,9 +20,10 @@ class Tramway::Event::EventDecorator < ::Tramway::Core::ApplicationDecorator
|
|
20
20
|
end
|
21
21
|
|
22
22
|
delegate :title, to: :object
|
23
|
-
decorate_associations :participants, :
|
23
|
+
decorate_associations :participants, :partnerships, :organizations
|
24
24
|
decorate_association :participant_form_fields, as: :event
|
25
25
|
decorate_association :sections, as: :event
|
26
|
+
decorate_association :partakings, as: :event
|
26
27
|
decorate_association :actions, as: :event, state_machines: [:action_state]
|
27
28
|
|
28
29
|
def background
|