Sha256: b5a7c489bcebe391ad043d0ee3eba223071b3f0053077965b23d6f63a19cf315

Contents?: true

Size: 360 Bytes

Versions: 3

Compression:

Stored size: 360 Bytes

Contents

require 'doorkeeper-sequel/version'

require 'doorkeeper'

require 'doorkeeper/orm/sequel'

module DoorkeeperSequel
  def load_locales
    locales_dir = File.expand_path('../../config/locales', __FILE__)
    locales = Dir[File.join(locales_dir, '*.yml')]

    I18n.load_path |= locales
  end

  module_function :load_locales
end

DoorkeeperSequel.load_locales

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
doorkeeper-sequel-1.2.3 lib/doorkeeper-sequel.rb
doorkeeper-sequel-1.2.2 lib/doorkeeper-sequel.rb
doorkeeper-sequel-1.2.1 lib/doorkeeper-sequel.rb