Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F904860
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Aug 29, 3:42 PM
Size
1 KB
Mime Type
text/x-diff
Expires
Sun, Aug 31, 3:42 PM (1 d, 3 h)
Engine
blob
Format
Raw Data
Handle
252094
Attached To
rARCHIVING archiving
View Options
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
Log In to Comment