@ -22,8 +22,8 @@ class MyshixunsController < ApplicationController
tip_exception("403", "")
end
begin
ActiveRecord::Base.transaction do
@shixun = Shixun.select(:id, :identifier, :challenges_count).find(@myshixun.shixun_id)
@myshixun.destroy!
StudentWork.where(:myshixun_id => @myshixun.id)