Sha256: ce14ce2248c519ac618831f374db7d14867607f7e5f6aad3bcb8e08534503dc8

Contents?: true

Size: 273 Bytes

Versions: 27

Compression:

Stored size: 273 Bytes

Contents

module Enjoy::RailsAdminPatch
  extend ActiveSupport::Concern

  def rails_admin_model
    self.class.to_param.gsub("::", "~").underscore
  end

  module ClassMethods
    def rails_admin_add_fields
      {}
    end

    def rails_admin_add_config(config)
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
enjoy_cms-0.3.2 app/models/concerns/enjoy/rails_admin_patch.rb
enjoy_cms-0.3.1.2 app/models/concerns/enjoy/rails_admin_patch.rb
enjoy_cms-0.3.1.1 app/models/concerns/enjoy/rails_admin_patch.rb
enjoy_cms-0.3.1 app/models/concerns/enjoy/rails_admin_patch.rb
enjoy_cms-0.3.0.4 app/models/concerns/enjoy/rails_admin_patch.rb
enjoy_cms-0.3.0.3 app/models/concerns/enjoy/rails_admin_patch.rb
enjoy_cms-0.3.0.2 app/models/concerns/enjoy/rails_admin_patch.rb