[style] Fix style
This commit is contained in:
parent
fc0494c1f3
commit
33ce7a61c6
1 changed files with 25 additions and 25 deletions
|
|
@ -76,7 +76,7 @@ class Mailbot < ActionMailer::Base
|
|||
mail(subject: @conference.email_settings.confirmed_without_registration_subject)
|
||||
end
|
||||
|
||||
def conference_date_update_mail(conference, user)
|
||||
def conference_date_update_mail(_conference, user)
|
||||
@user = user
|
||||
@conference = @conference
|
||||
@logo_url = logo_url(@conference)
|
||||
|
|
@ -159,11 +159,11 @@ class Mailbot < ActionMailer::Base
|
|||
|
||||
def logo_url(conference)
|
||||
if conference.picture.present?
|
||||
return conference.picture.thumb.url
|
||||
conference.picture.thumb.url
|
||||
elsif conference.organization.picture.present?
|
||||
return conference.organization.picture.thumb.url
|
||||
conference.organization.picture.thumb.url
|
||||
else
|
||||
return DEFAULT_LOGO
|
||||
DEFAULT_LOGO
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue