mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
bug fix
This commit is contained in:
parent
81673dcde8
commit
4d9dc82be0
1 changed files with 1 additions and 1 deletions
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 a new issue