Sha256: 0e3c0ff6042e537b8e7b431faebe1094c2147df8b1089e7d8e69558fc1649006

Contents?: true

Size: 270 Bytes

Versions: 29

Compression:

Stored size: 270 Bytes

Contents

# frozen_string_literal: true
require "active_admin/localizers/resource_localizer"

module ActiveAdmin
  module Localizers
    class << self
      def resource(active_admin_config)
        ResourceLocalizer.from_resource(active_admin_config)
      end
    end
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
activeadmin-4.0.0.beta12 lib/active_admin/localizers.rb
activeadmin-3.2.5 lib/active_admin/localizers.rb
activeadmin-4.0.0.beta11 lib/active_admin/localizers.rb
activeadmin-3.2.4 lib/active_admin/localizers.rb
activeadmin-4.0.0.beta10 lib/active_admin/localizers.rb
activeadmin-4.0.0.beta9 lib/active_admin/localizers.rb
activeadmin-3.2.3 lib/active_admin/localizers.rb
activeadmin-4.0.0.beta8 lib/active_admin/localizers.rb
activeadmin-4.0.0.beta7 lib/active_admin/localizers.rb
activeadmin-3.2.2 lib/active_admin/localizers.rb
activeadmin-4.0.0.beta6 lib/active_admin/localizers.rb
activeadmin-3.2.1 lib/active_admin/localizers.rb
activeadmin-4.0.0.beta5 lib/active_admin/localizers.rb
activeadmin-4.0.0.beta4 lib/active_admin/localizers.rb
activeadmin-4.0.0.beta3 lib/active_admin/localizers.rb
activeadmin-4.0.0.beta2 lib/active_admin/localizers.rb
activeadmin-4.0.0.beta1 lib/active_admin/localizers.rb
activeadmin-3.2.0 lib/active_admin/localizers.rb
activeadmin-3.1.0 lib/active_admin/localizers.rb
activeadmin-3.0.0 lib/active_admin/localizers.rb