Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def create
@sponsor_contact_invite = SponsorContactInvite.new(sponsor_contact_invite_params)
@sponsor_contact_invite.conference_id = @conference.id
@sponsor_contact_invite.token = SecureRandom.hex(50)
@sponsor_contact_invite.expires_at = 1.days.from_now # 有効期限を1日後に設定
@sponsor_contact_invite.expires_at = 7.days.from_now # 有効期限を7日後に設定
if @sponsor_contact_invite.save
SponsorContactInviteMailer.invite(@conference, @sponsor_contact_invite).deliver_now
flash.now[:notice] = '招待メールを送信しました'
Expand Down
2 changes: 1 addition & 1 deletion app/views/sponsor_contact_invite_mailer/invite.text.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@

<%= @new_accept_url %>

このURLは24時間有効です
このURLは1週間有効です

<%= render '/layouts/footer' %>
Loading