tramway-admin 1.18.1 → 1.18.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/tramway/admin/records_helper.rb +1 -1
- data/lib/tramway/admin/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3774180f3fd03ac5863e9dd80e0f5d94b84eb044b7d7dca7bc093f3912e2de6c
|
4
|
+
data.tar.gz: 888c60435fa5b05e70168d0100f810ddde632498d43a6242baad93bc4148fc0f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0777804e0cc2843e5dec7fdf9f4dfa2147bcef1edaa11a9ffeb1dc4d8b89d166de46e9bc91e508cd078b7188eacfb7680af57e2b3418a42d16490fe4c5b6d43
|
7
|
+
data.tar.gz: 032d20a35cc34f5bb5960f0ce9a7ed2b5b5b81e6ff536065d6ef10d4a5e701c0f97365d862a000d7133405cfbcd7e533c39bca1776aacd92a7fcbb0a1c7fed5c
|
@@ -78,7 +78,7 @@ module Tramway::Admin
|
|
78
78
|
unless association.options[:class_name].present?
|
79
79
|
raise "You should set `class_name` for #{association.name} association"
|
80
80
|
end
|
81
|
-
if association.
|
81
|
+
if association.options[:as].present?
|
82
82
|
new_record_path model: association.class_name,
|
83
83
|
redirect: current_model_record_path(object),
|
84
84
|
association.options[:class_name].underscore => {
|
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.18.1
|
4
|
+
version: 1.18.1.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: 2019-10-
|
11
|
+
date: 2019-10-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bootstrap-kaminari-views
|