lib/enjoy/news/admin/news.rb in enjoy_cms_news-0.4.0 vs lib/enjoy/news/admin/news.rb in enjoy_cms_news-0.4.0.1

- old
+ new

@@ -26,13 +26,11 @@ end if Enjoy::News.config.gallery_support group :image do active false - field :image, :jcrop do - jcrop_options :image_jcrop_options - end + field :image, :enjoy_image field :images end end group :content do active false @@ -42,21 +40,10 @@ # field :excerpt_html, :ck_editor # field :excerpt_clear, :toggle 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 do searchable true end end