Sha256: 10179c52f57a5b5f5bac913338bdec91aee130c5f26a41b3d3c9a50e4e8ab462

Contents?: true

Size: 301 Bytes

Versions: 9

Compression:

Stored size: 301 Bytes

Contents

module Admin
  module Viewable
    module Image
      extend ActiveSupport::Concern

      included do
        rails_admin do
          visible false

          field :title
          field :image, :rich_picker do
            config scoped: 'cms'
          end
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rails_admin_cms-0.1.1 app/models/admin/viewable/image.rb
rails_admin_cms-0.0.9 app/models/admin/viewable/image.rb
rails_admin_cms-0.0.7 app/models/admin/viewable/image.rb
rails_admin_cms-0.0.6 app/models/admin/viewable/image.rb
rails_admin_cms-0.0.5 app/models/admin/viewable/image.rb
rails_admin_cms-0.0.4 app/models/admin/viewable/image.rb
rails_admin_cms-0.0.3 app/models/admin/viewable/image.rb
rails_admin_cms-0.0.2 app/models/admin/viewable/image.rb
rails_admin_cms-0.0.1 app/models/admin/viewable/image.rb