mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 15:20:13 +01:00
update gems and fix i18n and aasm deprecation warnings
This commit is contained in:
parent
b1c306b09e
commit
17dca39d3a
10 changed files with 113 additions and 104 deletions
|
|
@ -68,5 +68,8 @@ 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