mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
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
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue