Sha256: 4498720cb1928156723b872aceccb8e99c23c6733e08e03db022a83035864dce

Contents?: true

Size: 176 Bytes

Versions: 26

Compression:

Stored size: 176 Bytes

Contents

class UserRoleType < AbAdmin::Models::TypeModel
  self.codes = [:default, :redactor, :moderator, :admin]
  self.i18n_scope = [:admin, :user, :role]

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