Sha256: 66568a66360101760700d92dd5984188d8362bcde0f2b9ad47de3e015242c9ce

Contents?: true

Size: 305 Bytes

Versions: 1

Compression:

Stored size: 305 Bytes

Contents

# frozen_string_literal: true

class SunriseQuestionCategory < Sunrise::AbstractModel
  self.resource_name = 'QuestionCategory'

  available_index_views [:thumbs]

  index :thumbs do
    field :title
    field :sort_order
  end

  form do
    field :title, translate: true
    field :sort_order
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
translation_cms-0.1.5 app/sunrise/sunrise_question_category.rb