Remove unnecessary code

This commit is contained in:
Stella Rouzi 2015-11-07 22:55:09 +02:00
parent ecef151f91
commit 6be8d383b7

View file

@ -65,21 +65,9 @@ class ConferenceSerializer < ActiveModel::Serializer
object.revision || 0
end
# FIXME: adjusting the format the DIRTY way, for oSC13.
# If you think this is ugly, don't look at the methods below
def date_range
if defined? object.date_range_string
object.date_range_string.try(:split, ',').try(:first)
end
end
# # FIXME: just giving suseconferenceclient something to play with
# def description
# 'openSUSE Conference 2013 - Power to the Geeko'
# end
#
# # FIXME: same than the former
# def url
# 'https://conference.opensuse.org/'
# end
end