Sha256: 59630b652b458c190cb940184d9aedd1b2019c2306a754168cdacd0e9b594985
Contents?: true
Size: 690 Bytes
Versions: 6
Compression:
Stored size: 690 Bytes
Contents
module Enjoy module Admin module Seo def self.config(is_active = true, fields = {}) Proc.new { navigation_label 'SEO' field :seoable do read_only true end field :h1, :string field :title, :string field :keywords, :text field :description, :text field :robots, :string field :og_title, :string field :og_image, :jcrop do jcrop_options :og_image_jcrop_options end Enjoy::RailsAdminGroupPatch::enjoy_cms_group(self, fields) if block_given? yield self end } end end end end
Version data entries
6 entries across 6 versions & 1 rubygems