mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 15:20:13 +01:00
Remove obsolete configuration values
This commit is contained in:
parent
1e4f7c9f30
commit
78dc56c37c
3 changed files with 0 additions and 17 deletions
|
|
@ -28,12 +28,6 @@ module Tracksapp
|
|||
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
||||
# config.i18n.default_locale = :de
|
||||
|
||||
# Configure the default encoding used in templates for Ruby 1.9.
|
||||
config.encoding = "utf-8"
|
||||
|
||||
# Set timezone of dates in database
|
||||
config.active_record.default_timezone = :utc
|
||||
|
||||
# configure Tracks to handle deployment in a subdir
|
||||
config.action_controller.relative_url_root = SITE_CONFIG['subdir'] if SITE_CONFIG['subdir']
|
||||
|
||||
|
|
@ -41,8 +35,5 @@ module Tracksapp
|
|||
config.action_view.sanitized_allowed_protocols = 'onenote', 'message'
|
||||
|
||||
config.middleware.insert_after ActionDispatch::ParamsParser, ActionDispatch::XmlParamsParser
|
||||
|
||||
# if a locale is invalid, the Rails app will raise an error
|
||||
config.i18n.enforce_available_locales = true
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -29,10 +29,6 @@ Rails.application.configure do
|
|||
# Raises helpful error messages.
|
||||
config.assets.raise_runtime_errors = true
|
||||
|
||||
# Unique cookies
|
||||
# config.action_controller.session_store :cookie_store, :key => 'TracksCucumber'
|
||||
# config.action_controller.session = { :key => 'TracksDev' }
|
||||
|
||||
config.rack_dev_mark.enable = true
|
||||
|
||||
# Raises error for missing translations
|
||||
|
|
|
|||
|
|
@ -34,10 +34,6 @@ Rails.application.configure do
|
|||
# Print deprecation notices to the stderr.
|
||||
config.active_support.deprecation = :stderr
|
||||
|
||||
# Unique cookies and use cookies for session
|
||||
# config.action_controller.session_store = :cookie_store
|
||||
# config.action_controller.session = { :key => 'TracksTest', :secret => SITE_CONFIG['salt'] * (30.0 / SITE_CONFIG['salt'].length).ceil }
|
||||
|
||||
SITE_CONFIG['salt'] ||= 'change-me'
|
||||
|
||||
config.time_zone = 'UTC'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue