ecm_user_area 1.0.0.pre → 1.0.1.pre
Sign up to get free protection for your applications and to get access to all the features.
- data/app/admin/roles.rb +9 -0
- data/config/locales/de.yml +1 -0
- data/config/locales/en.yml +1 -0
- data/lib/ecm/user_area/version.rb +1 -1
- metadata +3 -3
data/app/admin/roles.rb
CHANGED
@@ -2,6 +2,15 @@ ActiveAdmin.register Role do
|
|
2
2
|
# menu entry settings
|
3
3
|
menu :parent => Proc.new { I18n.t('ecm.user_area.active_admin.menu') }.call
|
4
4
|
|
5
|
+
action_item :only => :index do
|
6
|
+
link_to(I18n.t('ecm.user_area.actions.update_engine_provided_roles'), update_engine_provided_roles_admin_roles_path)
|
7
|
+
end
|
8
|
+
|
9
|
+
collection_action :update_engine_provided_roles do
|
10
|
+
Ecm::UserArea::RoleCollector.call
|
11
|
+
redirect_to admin_roles_path
|
12
|
+
end
|
13
|
+
|
5
14
|
index do
|
6
15
|
column :name
|
7
16
|
column :namespace
|
data/config/locales/de.yml
CHANGED
data/config/locales/en.yml
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ecm_user_area
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 961915984
|
5
5
|
prerelease: 6
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
9
|
+
- 1
|
10
10
|
- pre
|
11
|
-
version: 1.0.
|
11
|
+
version: 1.0.1.pre
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Roberto Vasquez Angel
|