forked from External/greenlight
10 lines
158 B
Ruby
10 lines
158 B
Ruby
# Load terms and conditions.
|
|
|
|
terms = "#{Rails.root}/config/terms.txt"
|
|
|
|
Rails.configuration.terms = if File.exist?(terms)
|
|
File.read(terms)
|
|
else
|
|
false
|
|
end
|