def destroy
    @content = Content.find(params[:id])
    if @content.destroy
      redirect_to admin_topic_contents_path(@content.topic_id), notice: "Content successfully deleted."
    else