summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-16 22:08:19 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-16 22:08:19 +0100
commit35b857cd917b2005aef993c40021253abe96e2d2 (patch)
treef854985f9b81c6f75dfb1fc4d4e4b92024b77ca9
parent1bd91b138c773aedbd5f18b9df79e28fac240dbc (diff)
It doesn't make sense to create a tenant.user_group here. #105
-rw-r--r--app/views/users/_user_groups.html.haml1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/views/users/_user_groups.html.haml b/app/views/users/_user_groups.html.haml
index 7e206b6..81191ae 100644
--- a/app/views/users/_user_groups.html.haml
+++ b/app/views/users/_user_groups.html.haml
@@ -5,4 +5,3 @@
%h2=t("user_groups.index.page_title")
- if user.user_groups.count > 0
= render "user_groups/index_core", :user_groups => user.user_groups.where(:tenant_id => tenant.id).order(:name)
- = render :partial => 'shared/create_link', :locals => {:parent => tenant, :child_class => UserGroup} \ No newline at end of file