lib/rows_controller.rb in rows_controller-2.2.1 vs lib/rows_controller.rb in rows_controller-2.2.2

- old
+ new

@@ -1,8 +1,10 @@ +# frozen_string_literal: true + require 'rows/engine' module Rows end -I18n.load_path << File.expand_path('../rows/locales/en.yml', __FILE__) -I18n.load_path << File.expand_path('../rows/locales/de.yml', __FILE__) +I18n.load_path << File.expand_path('rows/locales/en.yml', __dir__) +I18n.load_path << File.expand_path('rows/locales/de.yml', __dir__) I18n.reload!