Sha256: f1b9e7e1afc79e017f2eaa8985da0578c8e0ff5b09beff556f196c4c1f9f74bc

Contents?: true

Size: 165 Bytes

Versions: 26

Compression:

Stored size: 165 Bytes

Contents

class StaticPageType < AbAdmin::Models::TypeModel
  self.codes = [:default, :pictures, :video]
  self.i18n_scope = [:admin, :post, :kind]

  define_enum_by_codes
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
ab_admin-0.2.2 lib/generators/ab_admin/install/templates/models/static_page_type.rb
ab_admin-0.2.1 lib/generators/ab_admin/install/templates/models/static_page_type.rb
ab_admin-0.2.0 lib/generators/ab_admin/install/templates/models/static_page_type.rb
ab_admin-0.1.2 lib/generators/ab_admin/install/templates/models/static_page_type.rb
ab_admin-0.1.1 lib/generators/ab_admin/install/templates/models/static_page_type.rb
ab_admin-0.1.0 lib/generators/ab_admin/install/templates/models/static_page_type.rb