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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cced79b2ee4b4cc67d3239f59c44d53b538d33898d74bc0265b04406bd66d4eb
|
4
|
+
data.tar.gz: 4fc7a7dec40be0afce4337d482c74385b70490f25afebb1b3e90e46876e5a738
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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 }
|
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.
|
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-
|
11
|
+
date: 2018-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pg
|