Permalink
Browse files

fix for user groups not showing in user edit form

  • Loading branch information...
1 parent c5e4283 commit ef8bf0b2f6efc2cd85443283c501684cb75e9193 @jlapier committed Feb 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/controllers/users_controller.rb
@@ -38,7 +38,7 @@ def show
def edit
if params[:id]
require_admin_user
- @user = User.find(params[:id])
+ @user = User.find(params[:id], :include => :user_groups)
else
@user = @current_user
end

0 comments on commit ef8bf0b

Please sign in to comment.