Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix for user groups not showing in user edit form

  • Loading branch information...
commit ef8bf0b2f6efc2cd85443283c501684cb75e9193 1 parent c5e4283
@jlapier authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/controllers/users_controller.rb
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.