Sha256: 470d5e39034713dca8f07969cf11f755ab4905a3ee019ef95c1ee149bde1140d

Contents?: true

Size: 189 Bytes

Versions: 19

Compression:

Stored size: 189 Bytes

Contents

class StructureType < AbAdmin::Models::TypeModel
  self.codes = [:static_page, :posts, :main, :redirect, :group]
  self.i18n_scope = [:admin, :structure, :kind]

  define_enum_by_codes
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
ab_admin-0.7.0 lib/generators/ab_admin/install/templates/models/structure_type.rb
ab_admin-0.6.1 lib/generators/ab_admin/install/templates/models/structure_type.rb
ab_admin-0.6.0 lib/generators/ab_admin/install/templates/models/structure_type.rb
ab_admin-0.5.0 lib/generators/ab_admin/install/templates/models/structure_type.rb
ab_admin-0.4.0 lib/generators/ab_admin/install/templates/models/structure_type.rb
ab_admin-0.3.6 lib/generators/ab_admin/install/templates/models/structure_type.rb
ab_admin-0.3.5 lib/generators/ab_admin/install/templates/models/structure_type.rb
ab_admin-0.3.4 lib/generators/ab_admin/install/templates/models/structure_type.rb
ab_admin-0.3.3 lib/generators/ab_admin/install/templates/models/structure_type.rb
ab_admin-0.3.2 lib/generators/ab_admin/install/templates/models/structure_type.rb
ab_admin-0.3.1 lib/generators/ab_admin/install/templates/models/structure_type.rb
ab_admin-0.3.0 lib/generators/ab_admin/install/templates/models/structure_type.rb
ab_admin-0.2.3 lib/generators/ab_admin/install/templates/models/structure_type.rb
ab_admin-0.2.2 lib/generators/ab_admin/install/templates/models/structure_type.rb
ab_admin-0.2.1 lib/generators/ab_admin/install/templates/models/structure_type.rb
ab_admin-0.2.0 lib/generators/ab_admin/install/templates/models/structure_type.rb
ab_admin-0.1.2 lib/generators/ab_admin/install/templates/models/structure_type.rb
ab_admin-0.1.1 lib/generators/ab_admin/install/templates/models/structure_type.rb
ab_admin-0.1.0 lib/generators/ab_admin/install/templates/models/structure_type.rb