Initial badge system implementation.

This commit is contained in:
Vikhyat Korrapati
2014-03-14 21:49:26 +05:30
parent 9eb3958374
commit 9b26c8584e
41 changed files with 1186 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
BadgeType.seed do |b|
b.id = 1
b.name = I18n.t('badges.types.gold')
b.color_hexcode = "ffd700"
end
BadgeType.seed do |b|
b.id = 2
b.name = I18n.t('badges.types.silver')
b.color_hexcode = "c0c0c0"
end
BadgeType.seed do |b|
b.id = 3
b.name = I18n.t('badges.types.bronze')
b.color_hexcode = "cd7f32"
end