Sha256: 404c56ea8cb89c0cc5c448944ce9562b4a263ebd42efe360b2295135b0a7294a

Contents?: true

Size: 694 Bytes

Versions: 1

Compression:

Stored size: 694 Bytes

Contents

class <%= camelcased_class_name %> < Hancock::Seo::SitemapData

  ############ rails_admin ##############
  def self.rails_admin_add_fields
    [] #super
  end

  def self.rails_admin_add_config(config)
    #super(config)
  end

  def self.admin_can_user_defined_actions
    [].freeze
  end
  def self.admin_cannot_user_defined_actions
    [].freeze
  end
  def self.manager_can_user_defined_actions
    [].freeze
  end
  def self.manager_cannot_user_defined_actions
    [].freeze
  end
  def self.rails_admin_user_defined_visible_actions
    [].freeze
  end

  rails_admin(&Hancock::Seo::Admin::SitemapData.config(rails_admin_add_fields) { |config|
    rails_admin_add_config(config)
  })
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hancock_cms_seo-1.0.2 lib/generators/hancock/seo/models/templates/sitemap_data.erb