ecm_user_area 1.0.0.pre → 1.0.1.pre

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
@@ -46,6 +46,7 @@ de:
46
46
  new: Registrieren
47
47
  sign_in: Anmelden
48
48
  sign_out: Abmelden
49
+ update_engine_provided_roles: Rollen aktualisieren
49
50
  active_admin:
50
51
  menu: Benutzerverwaltung
51
52
  messages:
@@ -46,6 +46,7 @@ en:
46
46
  new: Register
47
47
  sign_in: Sign in
48
48
  sign_out: Sign out
49
+ update_engine_provided_roles: Updated roles
49
50
  active_admin:
50
51
  menu: User management
51
52
  messages:
@@ -1,5 +1,5 @@
1
1
  module Ecm
2
2
  module UserArea
3
- VERSION = "1.0.0.pre"
3
+ VERSION = "1.0.1.pre"
4
4
  end
5
5
  end
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: 961915988
4
+ hash: 961915984
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 0
9
+ - 1
10
10
  - pre
11
- version: 1.0.0.pre
11
+ version: 1.0.1.pre
12
12
  platform: ruby
13
13
  authors:
14
14
  - Roberto Vasquez Angel