tramway-admin 1.7 → 1.7.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: b79d54ce69a7ec52260303f4ff460312ea36aee4a51dcdb8e64392c88f2bc445
4
- data.tar.gz: 4ad934c6776f7377dd7169ae2e494420ea61516ba475868e6f858b7c6f2ea697
3
+ metadata.gz: f5f658b9f4fc1d6e3c7f72781778d9c7f6e61a77c024e3d7d23b4a747c3ee017
4
+ data.tar.gz: eaeefb859d9f1795483e675e65d91a0f7c53ed78bde4f24e001b11f6673e7dd6
5
5
  SHA512:
6
- metadata.gz: 9517c3a67708efc8e6fa9bf7dae48530b4246dd8f69015d220968e73e6cf759ef03128ef0a0266cce1cbdee529b7eca111324d60e2970908dd1d97f1ee852a12
7
- data.tar.gz: e8c9edafdcdb8b3da555ffe2a201d03a280a41e391c6b5e71b0a301106f3bb281bc287c2ced31b3b05c6d2448a204673508631697c5a9f8bff78685da145e303
6
+ metadata.gz: 80572c4c0524577e40856d488205a0ede7cab653c088ffed742dc2a267b4c762b170377e8b4cf890ecd532638fc878e2a84bd62641b8f7662d1263dd7f11ff2a
7
+ data.tar.gz: 120e8458c00f1f4dbc66c1f87496a2b032091e43d3c977b03624ca28f1c638ffcf2107ad3e497635d09d64a12f328d708bf710a2dcc83e2cf9f618efa21b8a26
@@ -12,7 +12,7 @@
12
12
  - ::Tramway::Admin.singleton_models_for(@application_engine)&.each do |model|
13
13
  = model_menu_item model: model, route: ::Tramway::Admin::Engine.routes.url_helpers.singleton_path(model: model)
14
14
  - ::Tramway::Admin.available_models_for(@application_engine)&.each do |model|
15
- = model_menu_item model: model, route: ::Tramway::Admin::Engine.routes.url_helpers.records_path(model: model)
15
+ = model_menu_item model: model, route: ::Tramway::Admin::Engine.routes.url_helpers.records_path(model: model, scope: decorator_class(model).collections.first)
16
16
  %ul.nav.navbar-nav.ml-auto
17
17
  - if signed_in?
18
18
  %li.nav-item
@@ -1,5 +1,5 @@
1
1
  module Tramway
2
2
  module Admin
3
- VERSION = '1.7'
3
+ VERSION = '1.7.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-admin
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.7'
4
+ version: 1.7.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-10-15 00:00:00.000000000 Z
11
+ date: 2018-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bootstrap-kaminari-views