Skip to content
This repository has been archived by the owner on Apr 26, 2022. It is now read-only.

Commit

Permalink
fix for user groups not showing in user edit form
Browse files Browse the repository at this point in the history
  • Loading branch information
jlapier committed Feb 17, 2012
1 parent c5e4283 commit ef8bf0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/users_controller.rb
Expand Up @@ -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
Expand Down

0 comments on commit ef8bf0b

Please sign in to comment.