diff --git a/controllers/apis.rb b/controllers/apis.rb
index f9e3dd9..017534d 100644
--- a/controllers/apis.rb
+++ b/controllers/apis.rb
@@ -8,12 +8,11 @@ def self.read_body io, parse_json = true
def self.included base
base.class_eval do
- before /^\/api\/(message|user|menu|media)/ do
+ before /^\/api\/(?
+
Groups<%= app.groups.size %>
+
+ <% app.groups.each do |group| %>
+ -
+ ID <%= group.id %>
+ Name <%= group.name %>
+ <%= app.group_users(group.id).size %> users
+
+ <% end %>
+
+
\ No newline at end of file
diff --git a/views/_app_users.erb b/views/_app_users.erb
index 954a0bd..e015009 100644
--- a/views/_app_users.erb
+++ b/views/_app_users.erb
@@ -5,6 +5,7 @@
OpenID <%= user.openid %>
Nickname <%= user.nickname %>
+ Group <%= app.user_group_name(user) %>
diff --git a/views/app.erb b/views/app.erb
index efbe7ad..10d9233 100644
--- a/views/app.erb
+++ b/views/app.erb
@@ -28,6 +28,7 @@
+ <%= erb :_app_groups, locals: {app: app} %>
<%= erb :_app_users, locals: {app: app} %>
<%= erb :_app_medias, locals: {app: app} %>