tramway-admin 1.28.1.2 → 1.28.1.3
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: 474716ba43d049e3a7388bb8b7d7a7bafb77bc1d8d837c7e71ddf13f71f7ebd6
|
4
|
+
data.tar.gz: f55d54e7b8cd0e6e2050c1f4b0bc2b5b6fa1a8fb61345cfec03a18f8c10d6c58
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6230da724ef6e223b32821a1c5c96fd7e9e35bae62e641de6a6d49c17deba13661b7804d127f44d8efcce70a2bba37323e60e201994f33767029944e215e3cb
|
7
|
+
data.tar.gz: bbb1e236e0d13ce025211fec30e8cbac7d51acdab18803d66efa3285aa9d9dca07dbdc0bd1f0fdc529d6a4c883a66eedc64a710562835951f18f243dd5189d62
|
@@ -89,7 +89,7 @@ module Tramway
|
|
89
89
|
# :tramway, :admin, :application_controller, :form_given, :model_not_included_to_tramway_admin,
|
90
90
|
# model: params[:model]
|
91
91
|
#)
|
92
|
-
raise "Looks like model #{params[:model]} is not included to tramway-admin. Add it in the `config/initializers/tramway.rb`. This way `Tramway::Admin.set_available_models(#{params[:model]})`"
|
92
|
+
raise "Looks like model #{params[:model]} is not included to tramway-admin for `#{current_user.role}` role. Add it in the `config/initializers/tramway.rb`. This way `Tramway::Admin.set_available_models(#{params[:model]})`"
|
93
93
|
Tramway::Admin.forms.include? params[:form].underscore.sub(%r{^admin/}, '').sub(/_form$/, '')
|
94
94
|
end
|
95
95
|
|
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.28.1.
|
4
|
+
version: 1.28.1.3
|
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-03-
|
11
|
+
date: 2020-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bootstrap-kaminari-views
|