app/controllers/ctws/users_controller.rb in ctws-0.1.9.alpha vs app/controllers/ctws/users_controller.rb in ctws-0.1.10.alpha

- old
+ new

@@ -39,10 +39,10 @@ }, profile: { data: [{ type: ActiveModel::Naming.param_key(Ctws.profile_class), id: Ctws.profile_class.where("#{Ctws.user_class.name.underscore}_id": user.id).last.id, - attributes: Ctws.profile_class.where("#{Ctws.user_class.name.underscore}_id": user.id) + attributes: Ctws.profile_class.where("#{Ctws.user_class.name.underscore}_id": user.id).last }] } } }] end