Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# == Schema Information
#
# Table name: communication_website_pages
#
# id :uuid not null, primary key
# bodyclass :string
# breadcrumb_title :string
# description :text
# description_short :text
# featured_image_alt :string
# featured_image_credit :text
# full_width :boolean default(FALSE)
# github_path :text
# header_text :text
# kind :integer
# position :integer default(0), not null
# published :boolean default(FALSE)
# slug :string
# text :text
# title :string
# type :string
# created_at :datetime not null
# updated_at :datetime not null
# communication_website_id :uuid not null, indexed
# language_id :uuid indexed
# parent_id :uuid indexed
# university_id :uuid not null, indexed
#
# Indexes
#
# index_communication_website_pages_on_communication_website_id (communication_website_id)
# index_communication_website_pages_on_language_id (language_id)
# index_communication_website_pages_on_parent_id (parent_id)
# index_communication_website_pages_on_university_id (university_id)
#
# Foreign Keys
#
# fk_rails_1a42003f06 (parent_id => communication_website_pages.id)
# fk_rails_280107c62b (communication_website_id => communication_websites.id)
# fk_rails_d208d15a73 (university_id => universities.id)
#
class Communication::Website::Page::Researcher < Communication::Website::Page
def current_git_path
"#{git_path_prefix}researchers/_index.html"
end