:confirm_string => token.token)
mail :to => user.email,
- :subject => I18n.t('notifier.signup_confirm.subject')
+ :subject => I18n.t("notifier.signup_confirm.subject")
end
end
:confirm_string => token.token)
mail :to => user.new_email,
- :subject => I18n.t('notifier.email_confirm.subject')
+ :subject => I18n.t("notifier.email_confirm.subject")
end
end
:token => token.token)
mail :to => user.email,
- :subject => I18n.t('notifier.lost_password.subject')
+ :subject => I18n.t("notifier.lost_password.subject")
end
end
@possible_points = possible_points
mail :to => trace.user.email,
- :subject => I18n.t('notifier.gpx_notification.success.subject')
+ :subject => I18n.t("notifier.gpx_notification.success.subject")
end
end
@error = error
mail :to => trace.user.email,
- :subject => I18n.t('notifier.gpx_notification.failure.subject')
+ :subject => I18n.t("notifier.gpx_notification.failure.subject")
end
end
mail :from => from_address(message.sender.display_name, "m", message.id, message.digest),
:to => message.recipient.email,
- :subject => I18n.t('notifier.message_notification.subject_header', :subject => message.title)
+ :subject => I18n.t("notifier.message_notification.subject_header", :subject => message.title)
end
end
mail :from => from_address(comment.user.display_name, "c", comment.id, comment.digest),
:to => comment.diary_entry.user.email,
- :subject => I18n.t('notifier.diary_comment_notification.subject', :user => comment.user.display_name)
+ :subject => I18n.t("notifier.diary_comment_notification.subject", :user => comment.user.display_name)
end
end
@friend = friend
mail :to => friend.befriendee.email,
- :subject => I18n.t('notifier.friend_notification.subject', :user => friend.befriender.display_name)
+ :subject => I18n.t("notifier.friend_notification.subject", :user => friend.befriender.display_name)
end
end
@comment = comment.body
@owner = recipient == comment.changeset.user
@commenter = comment.author.display_name
- @changeset_comment = comment.changeset.tags['comment'].presence
+ @changeset_comment = comment.changeset.tags["comment"].presence
@time = comment.created_at
@changeset_author = comment.changeset.user.display_name