tramway-admin 1.22.0.4 → 1.23
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: 9221ad556d986efcae8b262f3c511c3fa89100dfd14fcc6ad8451e02627adad7
|
4
|
+
data.tar.gz: 057f44f931ebe0f2830bc1a88c9c8c3810c18a91d544e43119aac7e493a9053c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: abb358fcec58ae81631e66cbee4ab9eb5e3299e4eca9d620be4653b7b04b9d2fbc93fc7918eeb4da843bcbbcfcc3f3dffeb64dcbc228e1b9090ec9ffc0b0a36e
|
7
|
+
data.tar.gz: 929c63d18f927c91619279e7422949501e0949e0c0dbb440c4904e4869be7710c7195566997d2290fde4e55b4fe8a3f2f989dca7d1415e395ba3f11eea1ddfca
|
@@ -74,11 +74,7 @@ module Tramway
|
|
74
74
|
end
|
75
75
|
|
76
76
|
def admin_form_class
|
77
|
-
|
78
|
-
form_class_name
|
79
|
-
else
|
80
|
-
"::Admin::#{model_class}Form".constantize
|
81
|
-
end
|
77
|
+
"::#{current_user.role.camelize}::#{model_class}Form".constantize
|
82
78
|
end
|
83
79
|
|
84
80
|
def model_given?
|
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.
|
4
|
+
version: '1.23'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Kalashnikov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-02-
|
11
|
+
date: 2020-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bootstrap-kaminari-views
|