tramway-admin 1.27 → 1.27.0.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/actions_helper.rb +1 -1
- data/lib/tramway/admin/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b83cc48585ae6f0354b2a23f3904cbfd033bd2ae096e9744a2460352a418745
|
4
|
+
data.tar.gz: d333e3c4b028cc66f7ffa4a98e4926bfff243e92a793a224d637e0a8e4145ecb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9bf64ed1b5a500e3cd7bd2b70baabae80861ace61e1217349e1c1247314cd35067fdb35b5131b97f58306d724524b18adbecaa1b424f879e7b50bfa7bb6a517
|
7
|
+
data.tar.gz: '085420b80bd57fb7c9a99637b85ee9fd12db695d660a91989383535d1c00fd37ab5f6719f89d831e88006ca10919c65d01e5f12fba653f4886b1b13e27796ec8'
|
@@ -10,6 +10,6 @@ module Tramway::Admin::ActionsHelper
|
|
10
10
|
end
|
11
11
|
|
12
12
|
def habtm_destroy_is_available?(association_object, main_object)
|
13
|
-
::Tramway::Admin.forms
|
13
|
+
::Tramway::Admin.forms&.include?("#{main_object.model.class.to_s.underscore.pluralize}/remove_#{association_object.model.class.to_s.underscore}")
|
14
14
|
end
|
15
15
|
end
|