tramway-event 0.4 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cfb8d54e64e33b2e8c21b7fce9017bfcb7e36ec36bbed99b8040a24a5741ac72
4
- data.tar.gz: 4aea69120d930c1dded0eb77c9dad2d0caad5cd4c339a16d68102c07ea336723
3
+ metadata.gz: 8e33326369ab761aa21580c75842ac5007ab3b49054581dfdeb7d8cfa2240e8f
4
+ data.tar.gz: 392bba36179f07f272ea7df083277faf7235b88c1389bbf50876c546f9de4feb
5
5
  SHA512:
6
- metadata.gz: def4daefd8d20bf15c6897a8f310adf08c384e88653751e6c513a1722056cd9ae43984ffaa5170a5ee4d75c387f6a19ed35f37e60930baedbd751c3044901937
7
- data.tar.gz: 0a88fd1f5b27e913872ae6847dd8bf3a84493365acd41cd7a47b27d490696b7d0dab704c89c19bfc6d20ad5bfa2bf1f5d2cbdfd51c87b05818cfeab60a4a0e1a
6
+ metadata.gz: 76635da6d5f2ff0e5211e52f679178cb6179320d5e9a0531d8a4bd5554eb6db43b524922cd9ecb833dd38e1f3b0962c8499617a6c1c2f1b7af300a499dde2678
7
+ data.tar.gz: a06d71b328e1c734050fcc9eaf054bfdff394f231171bca8fd3101e45d38564bb73db83ba60d126e75c5a67ed8eca405929c656df81dd237b2559145b4f71208
@@ -2,6 +2,6 @@ class Tramway::Event::EventLinkDecorator < ::Tramway::Core::ApplicationDecorator
2
2
  delegate :title, to: :object
3
3
 
4
4
  def link
5
- ''
5
+ Tramway::Event::Engine.routes.url_helpers.event_path object
6
6
  end
7
7
  end
@@ -1,5 +1,5 @@
1
1
  class Tramway::Event::EventForm < ::Tramway::Core::ApplicationForm
2
- properties :title, :description, :begin_date, :end_date
2
+ properties :title, :description, :begin_date, :end_date, :photo
3
3
 
4
4
  def initialize(object)
5
5
  form_object = super object
@@ -1,3 +1,5 @@
1
+ - content_for :title do
2
+ = @event.title
1
3
  - content_for :body_content do
2
4
  = stylesheet_link_tag 'tramway/event/events/show'
3
5
  = render 'tramway/landing/blocks/templates/full_page', block: @event, buttons: []
@@ -1,5 +1,5 @@
1
1
  module Tramway
2
2
  module Event
3
- VERSION = '0.4'
3
+ VERSION = '0.4.1'
4
4
  end
5
5
  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: '0.4'
4
+ version: 0.4.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: 2018-09-02 00:00:00.000000000 Z
11
+ date: 2018-09-04 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Rails engine for events
14
14
  email: