Remove unnecessary code
This commit is contained in:
parent
ecef151f91
commit
6be8d383b7
1 changed files with 0 additions and 12 deletions
|
|
@ -65,21 +65,9 @@ class ConferenceSerializer < ActiveModel::Serializer
|
||||||
object.revision || 0
|
object.revision || 0
|
||||||
end
|
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
|
def date_range
|
||||||
if defined? object.date_range_string
|
if defined? object.date_range_string
|
||||||
object.date_range_string.try(:split, ',').try(:first)
|
object.date_range_string.try(:split, ',').try(:first)
|
||||||
end
|
end
|
||||||
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
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue