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.
|
# frozen_string_literal: true
|
|
|
|
# Load terms and conditions.
|
|
|
|
terms = "#{Rails.root}/config/terms.txt"
|
|
|
|
Rails.configuration.terms = if File.exist?(terms)
|
|
File.read(terms)
|
|
else
|
|
false
|
|
end
|