diff --git a/app/models/topic.rb b/app/models/topic.rb index 0bd831473..94b0e53fd 100644 --- a/app/models/topic.rb +++ b/app/models/topic.rb @@ -19,7 +19,7 @@ class Topic < ApplicationRecord scope :with_single_type, ->(type){where(type: trans_simpletype_to_classtype(type))} scope :with_mutil_type, ->(type){where(type: group_class_type_names(type))} - self.inheritance_column = nil + # self.inheritance_column = nil def self.has_templates?(type) type_simple_name = Topic.type_simple_name(type) diff --git a/app/views/admins/topics/_form_modal_forums.html.erb b/app/views/admins/topics/_form_modal_forums.html.erb index 6f663246e..c444abd24 100644 --- a/app/views/admins/topics/_form_modal_forums.html.erb +++ b/app/views/admins/topics/_form_modal_forums.html.erb @@ -39,27 +39,7 @@ <%= p.number_field :order_index, class: "form-control", placeholder: "" %> -