app/controllers/curupira/users_controller.rb in curupira-0.1.0 vs app/controllers/curupira/users_controller.rb in curupira-0.1.1
- old
+ new
@@ -38,10 +38,10 @@
render :edit
end
end
private
-
+
def user_params
params.require(:user).permit(:email, :name, :username, :password, group_users_attributes: [:id, :group_id, :_destroy, role_group_users_attributes: [:id, :role_id]])
end
end