10 lines
212 B
Ruby
10 lines
212 B
Ruby
|
class PersonalConferenceTag < Tag
|
||
|
|
||
|
has_and_belongs_to_many :writing_conferences
|
||
|
|
||
|
def get_visible_links(sort = :title)
|
||
|
self.writing_conferences.where(:is_hidden => false).desc(:is_top, sort)
|
||
|
end
|
||
|
|
||
|
end
|