mirror of
https://github.com/discourse/discourse.git
synced 2025-01-30 15:46:16 +08:00
bug fix
This commit is contained in:
parent
81673dcde8
commit
4d9dc82be0
2
app/models/category.rb
Normal file → Executable file
2
app/models/category.rb
Normal file → Executable file
|
@ -1,7 +1,7 @@
|
|||
class Category < ActiveRecord::Base
|
||||
belongs_to :topic, dependent: :destroy
|
||||
belongs_to :topic_only_relative_url,
|
||||
select: "id, title",
|
||||
select: "id, title, slug",
|
||||
class_name: "Topic",
|
||||
foreign_key: "topic_id"
|
||||
belongs_to :user
|
||||
|
|
Loading…
Reference in New Issue
Block a user