fix
This commit is contained in:
parent
21bf3a0ccd
commit
d4962d20b3
|
@ -43,7 +43,7 @@ class Survey
|
||||||
|
|
||||||
def time_range
|
def time_range
|
||||||
r = "#{self.postdate.to_date}"
|
r = "#{self.postdate.to_date}"
|
||||||
r += "- #{self.deadline.to_date}" if self.deadline
|
r += "- #{self.deadline.to_date}" unless self.deadline.nil?
|
||||||
r
|
r
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Reference in New Issue