mirror of
https://github.com/TracksApp/tracks.git
synced 2026-04-17 17:54:35 +02: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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue