Sha256: 1a5864d2f49b14f32ee803fd27f847d958189778d8aee71c9cbcb52c64e5a0f7

Contents?: true

Size: 453 Bytes

Versions: 2

Compression:

Stored size: 453 Bytes

Contents

require 'refinerycms-core'

module Refinery
  autoload :AdminLocalesGenerator, 'generators/refinery/admin_locales_generator'

  module AdminLocales
    require 'refinery/admin_locales/engine'

    class << self
      attr_writer :root

      def root
        @root ||= Pathname.new(File.expand_path('../../../', __FILE__))
      end

      def factory_paths
        @factory_paths ||= [ root.join('spec', 'factories').to_s ]
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
refinerycms-admin-locales-2.0.0 lib/refinery/admin_locales.rb
refinerycms-admin-locales-2.1.0.dev lib/refinery/admin_locales.rb