Do not upcase State abbreviation

This commit is contained in:
Maxim Colls
2017-11-16 15:34:55 +01:00
committed by Maikel Linke
parent 56be7b1d46
commit 09f98307f4

View File

@@ -1,7 +1,3 @@
class Api::StateSerializer < ActiveModel::Serializer
attributes :id, :name, :abbr
def abbr
object.abbr.upcase
end
end