Sha256: c5de1ded03bc89b6bbfd5e79beeb424fb03312f8f017e2b575b680e2ed6d4595

Contents?: true

Size: 480 Bytes

Versions: 4

Compression:

Stored size: 480 Bytes

Contents

require "activeadmin-localize/version"
require 'activeadmin-localize/formtastic'
require 'activeadmin-localize/attributes_table'
require 'activeadmin-localize/columns'
require 'activeadmin-localize/engine'

module ActiveAdmin
  module Localize
    autoload :Field, 'activeadmin-localize/field'

    class << self
      attr_writer :locales

      def locales
        @locales || I18n.available_locales
      end

      def configure
        yield self
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
activeadmin-localize-0.3.0 lib/activeadmin-localize.rb
activeadmin-localize-0.2.1 lib/activeadmin-localize.rb
activeadmin-localize-0.2.0 lib/activeadmin-localize.rb
activeadmin-localize-0.1.1 lib/activeadmin-localize.rb