Newer
Older
# == Schema Information
#
# Table name: communication_websites
#
# id :uuid not null, primary key
# about_type :string indexed => [about_id]
# access_token :string
# git_endpoint :string
# git_provider :integer default("github")
# name :string
# repository :string
# url :string
# created_at :datetime not null
# updated_at :datetime not null
# about_id :uuid indexed => [about_type]
# university_id :uuid not null, indexed
#
# Indexes
#
# index_communication_websites_on_about (about_type,about_id)
# index_communication_websites_on_university_id (university_id)
#
# Foreign Keys
#
class Communication::Website::Configs::BaseUrl < Communication::Website
def self.polymorphic_name
'Communication::Website::Configs::BaseUrl'
end
def git_path(website)
"config/production/config.yaml"
end
def template_static
"admin/communication/websites/configs/base_urls/static"
end