tramway-sport_school 1.2 → 1.2.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c7e035504b3560debe721349404a8072a03df59e7441af9f5299149b5d75e6e
|
4
|
+
data.tar.gz: 4aaedbb889f3d43624dd99c25f5f39a8c446c42790b485fc5c8a169a62e706f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51f2779ab16c630b1ab4af378e1926392f853da7895f114f60e76254144d7b68853aa6ee4c13b3dd91f1832c1bc4c999236c054d7aa2bcc9a3012d4df78f41a7
|
7
|
+
data.tar.gz: 24db1a0692397f60b16df9ec5e9029a18a535ae582e09bec81b4b6566b12ee4f6c96dbcdf93f7123ceffe7c1e3e33c68a201212e066133da16c2c4cd616a416c
|
@@ -3,7 +3,7 @@ require_dependency "tramway/sport_school/application_controller"
|
|
3
3
|
class Tramway::SportSchool::Web::WelcomeController < ::Tramway::SportSchool::ApplicationController
|
4
4
|
def index
|
5
5
|
@kind_sports = ::Tramway::SportSchool::KindSport.active.published.map { |k| ::Tramway::SportSchool::Features::KindSportDecorator.new k }
|
6
|
-
@documents = ::Tramway::SportSchool::Document.active
|
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
|