Allow badges to be marked as "titleable".

This commit is contained in:
Vikhyat Korrapati
2014-04-25 23:55:29 +05:30
parent 535965263a
commit b4e037dfb2
15 changed files with 51 additions and 26 deletions

View File

@@ -1,5 +1,5 @@
class BadgeSerializer < ApplicationSerializer
attributes :id, :name, :description, :grant_count
attributes :id, :name, :description, :grant_count, :allow_title
has_one :badge_type
end