You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
262 B

  1. return unless defined?(Rails::Server)
  2. require Rails.root.join('lib', 'hot_constants', 'hot_constants')
  3. HotConstants.initialize
  4. logger.info('hot constants initialized!')
  5. # TODO: provide kind of a callback method which provides new value of hot constant change