Modified rendering for registration dates in splash

This commit is contained in:
Gopesh Tulsyan 2014-06-05 01:12:43 +05:30
parent f87cd94cb5
commit fd20e67c76
2 changed files with 6 additions and 2 deletions

View file

@ -116,7 +116,7 @@ class Conference < ActiveRecord::Base
# * +false+ -> If the conference registration dates are not set
# * +true+ -> If conference registration dates are set
def registration_dates_given?
if self.registration_start_date.blank? || self.registration_end_date.blank?
if registration_start_date.blank? || registration_end_date.blank?
false
else
true