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.11.0 lib/generators/ab_admin/install/templates/models/static_page_type.rb
ab_admin-0.10.0 lib/generators/ab_admin/install/templates/models/static_page_type.rb
ab_admin-0.9.0 lib/generators/ab_admin/install/templates/models/static_page_type.rb
ab_admin-0.8.3 lib/generators/ab_admin/install/templates/models/static_page_type.rb
ab_admin-0.8.2 lib/generators/ab_admin/install/templates/models/static_page_type.rb
ab_admin-0.8.1 lib/generators/ab_admin/install/templates/models/static_page_type.rb
ab_admin-0.8.0 lib/generators/ab_admin/install/templates/models/static_page_type.rb
ab_admin-0.7.0 lib/generators/ab_admin/install/templates/models/static_page_type.rb
ab_admin-0.6.1 lib/generators/ab_admin/install/templates/models/static_page_type.rb
ab_admin-0.6.0 lib/generators/ab_admin/install/templates/models/static_page_type.rb
ab_admin-0.5.0 lib/generators/ab_admin/install/templates/models/static_page_type.rb
ab_admin-0.4.0 lib/generators/ab_admin/install/templates/models/static_page_type.rb
ab_admin-0.3.6 lib/generators/ab_admin/install/templates/models/static_page_type.rb
ab_admin-0.3.5 lib/generators/ab_admin/install/templates/models/static_page_type.rb
ab_admin-0.3.4 lib/generators/ab_admin/install/templates/models/static_page_type.rb
ab_admin-0.3.3 lib/generators/ab_admin/install/templates/models/static_page_type.rb
ab_admin-0.3.2 lib/generators/ab_admin/install/templates/models/static_page_type.rb
ab_admin-0.3.1 lib/generators/ab_admin/install/templates/models/static_page_type.rb
ab_admin-0.3.0 lib/generators/ab_admin/install/templates/models/static_page_type.rb
ab_admin-0.2.3 lib/generators/ab_admin/install/templates/models/static_page_type.rb