lib/enjoy/gallery/admin/gallery.rb in enjoy_cms_gallery-0.4.0 vs lib/enjoy/gallery/admin/gallery.rb in enjoy_cms_gallery-0.4.0.1

- old
+ new

@@ -11,27 +11,14 @@ field :name, :string do searchable true end group :URL do active false - field :slugs, :enum do - searchable true - enum_method do - :slugs - end - visible do - bindings[:view].current_user.admin? - end - multiple do - true - end - end + field :slugs, :enjoy_slugs field :text_slug end - field :image, :jcrop do - jcrop_options :image_jcrop_options - end + field :image, :enjoy_image # field :gallery_objects do # read_only true # end