From 954866a3d318cc38cdfe178766ec0f2f8d9b49d7 Mon Sep 17 00:00:00 2001 From: Matchu Date: Mon, 27 Jul 2015 19:37:29 -0400 Subject: [PATCH] update NeopetsUser TODOs --- app/models/neopets_user.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/neopets_user.rb b/app/models/neopets_user.rb index 6ce5e35f..0746d607 100644 --- a/app/models/neopets_user.rb +++ b/app/models/neopets_user.rb @@ -17,7 +17,7 @@ class NeopetsUser end def list_id=(list_id) - # TODO: DRY up with ClosetPage + # TODO: use null lists instead @list_id = list_id if list_id == 'true' @closet_list = nil @@ -58,7 +58,7 @@ class NeopetsUser item_quantities[i] += 1 end - # TODO: DRY up with ClosetPage + # TODO: DRY up with NeopetsPage # We don't want to insert duplicate hangers of what a user owns if they # already have it in another list (e.g. imports to Items You Own *after* # curating their Up For Trade list), so we check for the hanger's presence