chromesetting
daiao 5 years ago
parent 477206be79
commit ca07e2fa96

@ -181,7 +181,7 @@ class HacksController < ApplicationController
hacks = hacks.where.not(id: user_hacks.pluck(:hack_id)) hacks = hacks.where.not(id: user_hacks.pluck(:hack_id))
end end
else else
hacks = hacks.joins(:hack_user_lastest_codes).where(hack_user_lastest_code: {status: params[:status]}) hacks = hacks.joins(:hack_user_lastest_codes).where(hack_user_lastest_codes: {status: params[:status]})
end end
end end
# 分类 # 分类

Loading…
Cancel
Save