tramway-sport_school 1.2.3 → 1.2.4

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: bdb825f53fb7ea74aa1e115dd8c25b787c5997ed4bc58815c270f7d5d56083e2
4
- data.tar.gz: 2703a4d8892004b37d2001e10e58de83ad480e5619bc00b6530e683a989fd82d
3
+ metadata.gz: cced79b2ee4b4cc67d3239f59c44d53b538d33898d74bc0265b04406bd66d4eb
4
+ data.tar.gz: 4fc7a7dec40be0afce4337d482c74385b70490f25afebb1b3e90e46876e5a738
5
5
  SHA512:
6
- metadata.gz: 6e713ad3e2c4e577df2c6d46566d4e041ec6f489b80efda2925e37e0ae80fd7180e5bec66140475730a88e47c86ce687c6329fbde1a1848e9e06f702f6e60273
7
- data.tar.gz: 5cd5d096218bac69e8c5d6fc84782f99a852f0bed9f2dd8102c289efe42760755c4c50dd81287097a82f821d5e6172f9749756db3d3168b8bbbcf67fdb053186
6
+ metadata.gz: 592742b63c2172a7ac56c00ba8d151370797345a1d61af30f743b99c556bff0ebc5ae0c81b0b41dc613b972cd7def964ea915583df22cd5b8096d1d56303b610
7
+ data.tar.gz: 481c0a4fd54d95136da93fdf3a32518f8ad08511792bbb4fb297f4d66b41c91cdc367a1224112e5c2d0e8ed39f8310e990d0ebdf9ee7f1412c34229713604a04
@@ -6,7 +6,9 @@ class Tramway::SportSchool::Web::WelcomeController < ::Tramway::SportSchool::App
6
6
  @documents = ::Tramway::SportSchool::Document.active.published
7
7
  @trainers = ::Tramway::SportSchool::Trainer.active.published.map { |t| ::Tramway::SportSchool::Cards::TrainerDecorator.new t }
8
8
  @institution = ::Tramway::SportSchool::Institution.includes(:social_networks).first
9
- @blocks = ::Tramway::Landing::Block.on_main_page
9
+ blocks = ::Tramway::Landing::Block.on_main_page
10
+ @links = ::Tramway::Landing::BlockDecorator.decorate blocks.with_navbar_link
11
+ @blocks = ::Tramway::Landing::BlockDecorator.decorate blocks.where block_type: :header
10
12
  @organizations = ::Tramway::SportSchool::Organization.published
11
13
  @news = ::Tramway::News::News.active.last(3).reverse.map { |t| ::Tramway::Landing::Cards::NewsDecorator.new t }
12
14
  @education_documents = ::Tramway::SportSchool::Document.published.education.map { |t| ::Tramway::SportSchool::Cards::DocumentDecorator.new t }
@@ -1,5 +1,5 @@
1
1
  module Tramway
2
2
  module SportSchool
3
- VERSION = '1.2.3'
3
+ VERSION = '1.2.4'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-sport_school
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.2.4
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-07-21 00:00:00.000000000 Z
11
+ date: 2018-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg