mirror of
https://github.com/usetrmnl/terminus.git
synced 2026-08-13 14:29:27 -07:00
Removed i18n provider
No longer needed as Hanami 3.0.0 loads this provider for us. Milestone: patch
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "refinements/pathname"
|
||||
|
||||
using Refinements::Pathname
|
||||
|
||||
Hanami.app.register_provider :i18n do
|
||||
prepare { require "i18n" }
|
||||
|
||||
start do
|
||||
I18n.load_path.concat slice.root.join("config/locales").files("*.yml")
|
||||
register :i18n, I18n
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user