diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-16 22:08:19 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-16 22:08:19 +0100 |
commit | 35b857cd917b2005aef993c40021253abe96e2d2 (patch) | |
tree | f854985f9b81c6f75dfb1fc4d4e4b92024b77ca9 /app/views/users | |
parent | 1bd91b138c773aedbd5f18b9df79e28fac240dbc (diff) |
It doesn't make sense to create a tenant.user_group here. #105
Diffstat (limited to 'app/views/users')
-rw-r--r-- | app/views/users/_user_groups.html.haml | 1 |
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 |