This repository has been archived on 2021-10-24. You can view files and clone it, but cannot push or open issues or pull requests.
2018-06-26 10:29:46 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-06-21 16:17:18 -04:00
|
|
|
# Load terms and conditions.
|
|
|
|
|
2018-07-27 14:14:48 -04:00
|
|
|
terms = "#{Rails.root}/config/terms.md"
|
2018-06-21 16:17:18 -04:00
|
|
|
|
|
|
|
Rails.configuration.terms = if File.exist?(terms)
|
|
|
|
File.read(terms)
|
|
|
|
else
|
|
|
|
false
|
|
|
|
end
|