Sha256: 752b3d09c9f1c58b27c2d72ae9ca98e4ab6ee323e4e0ce0a59adee612168306d

Contents?: true

Size: 422 Bytes

Versions: 2

Compression:

Stored size: 422 Bytes

Contents

class RubocopResource < Avo::BaseResource
  self.title = :display_name
  self.includes = []

  # self.search_query = ->(params:) do
  #   scope.ransack(id_eq: params[:q], m: "or").result(distinct: false)
  # end

  field :id, as: :id
  # field :data, as: :textarea, only_on: [:edit]
  # field :user_name, as: :text

  tabs do
    tab "List of Cops" do
      panel do
        field :id, as: :id
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_app_generator-0.3.1 after_templates/application/klueless/app/avo/resources/rubocop_resource.rb
rails_app_generator-0.3.0 after_templates/application/klueless/app/avo/resources/rubocop_resource.rb