Page MenuHomeGRNET

No OneTemporary

File Metadata

Created
Fri, Aug 29, 3:42 PM
diff --git a/config/application.rb b/config/application.rb
index c143565..ce2481c 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -1,23 +1,29 @@
require File.expand_path('../boot', __FILE__)
require 'rails/all'
# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)
module Base
class Application < Rails::Application
# Settings in config/environments/* take precedence over those specified here.
# Application configuration should go into files in config/initializers
# -- all .rb files in that directory are automatically loaded.
# Store/Read localtime from the database
config.active_record.default_timezone = :local
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
# config.i18n.default_locale = :de
config.autoload_paths << Rails.root.join('lib')
+
+ config.x = {}
+ end
+
+ def self.settings
+ Application.config.x
end
end
diff --git a/config/initializers/00_settings.rb b/config/initializers/00_settings.rb
new file mode 100644
index 0000000..e69de29

Event Timeline