administrador 0.0.13.pre → 0.0.14.pre
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: 125c510177365e3b501578e9aaeacc80e82e312cc2682e0540a3ba39c8d816dc
|
4
|
+
data.tar.gz: 93fcae275f226d6b38ab6ca1cf624f16bdaf7eca3c72162c27bb11fa08a3cac9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec6917964d9f1613f0aa4d1840bffd1f1e2d5b882dab3e9758e8cf4414d45752758e70acc94595670e5edf4ecdf93b0e4b6009b4e9c188ce397cf970cb04098a
|
7
|
+
data.tar.gz: a53a70ce874b6d3e21068667ccdf0ee5ddfa2f4c6477a3f3d0f2c8e12998c85762daaa14c1d55a69bf9a74138a588fdc161b32f1cd86d9d14d32512e5d806f18
|
@@ -2,6 +2,6 @@
|
|
2
2
|
- id = "sidebar-#{sc.name.underscore.gsub('/', '-')}"
|
3
3
|
- position = sc.sidebar_position || :right
|
4
4
|
- size = sc.sidebar_size || '250px'
|
5
|
-
- url = sc.sidebar_url || send(engine.router_name).
|
5
|
+
- url = sc.sidebar_url || send(engine.router_name).send("#{sc.name.demodulize.underscore.gsub('_controller', '').singularize}_path")
|
6
6
|
- mode = sc.sidebar_mode || :modal
|
7
7
|
%aside.py-2{ id: id, data: { sidebar: { position: position, size: size, state: :closed, mode: :modal, load: url } } }
|
data/config/locales/en.yml
CHANGED
@@ -5,7 +5,20 @@ Administrador.configure do |config|
|
|
5
5
|
#
|
6
6
|
config.resource_label_methods = [:administrador_title, :human, :name, :identifier, :to_s]
|
7
7
|
|
8
|
-
#
|
8
|
+
# All controllers (for resources, services, sidebars, home, etc.) inherit
|
9
|
+
# from this controller.
|
10
|
+
#
|
11
|
+
# Default: config.base_controller_class_name = '::ApplicationController'
|
12
|
+
#
|
13
|
+
config.base_controller_class_name = '::ApplicationController'
|
9
14
|
|
10
|
-
#
|
15
|
+
# Enable additional features here.
|
16
|
+
#
|
17
|
+
# config.enable_feature(:kaminari, {})
|
18
|
+
# config.enable_feature(:rao_query, {})
|
19
|
+
|
20
|
+
# Engines that are registered will be shown in the administrador main menu
|
21
|
+
# sidebar. Additionally they can register sidebars.
|
22
|
+
#
|
23
|
+
# config.register_engine 'Ecm::Blog::Backend::Engine', {}
|
11
24
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: administrador
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.14.pre
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roberto Vasquez Angel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-06-
|
11
|
+
date: 2019-06-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|