mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-18 07:01:58 +08:00
7 lines
192 B
Ruby
7 lines
192 B
Ruby
# frozen_string_literal: true
|
|
|
|
class ApplicationSettings < Settings
|
|
def load_values_from_env
|
|
ENV.select { |name, _| name =~ /^APP_STTG_[A-Z0-9_]*/ }.transform_keys(&:downcase)
|
|
end
|
|
end
|