撤销发布

dev_course
daiao 5 years ago
parent 16b8e704ef
commit 82c0318861

@ -743,7 +743,7 @@ class ShixunsController < ApplicationController
apply.update_attribute(:status, 3) apply.update_attribute(:status, 3)
apply.tidings.destroy_all apply.tidings.destroy_all
end end
@shixun.update_column('status', 0) @shixun.update_column(:status, 0)
end end
private private

Loading…
Cancel
Save