More accept/reject/confirm fixes

This commit is contained in:
Henne Vogelsang 2014-09-01 17:17:30 +02:00
parent 6147c5d185
commit 89440b971d
2 changed files with 5 additions and 5 deletions

View file

@ -21,7 +21,7 @@ class EmailSettings < ActiveRecord::Base
'conference_end_date' => conference.end_date,
'venue' => conference.venue.name,
'venue_address' => conference.venue.address,
'registrationlink' => Rails.application.routes.url_helpers.register_conference_url(
'registrationlink' => Rails.application.routes.url_helpers.new_conference_conference_registrations_url(
conference.short_title, host: CONFIG['url_for_emails']),
'conference_splash_link' => Rails.application.routes.url_helpers.conference_url(
conference.short_title, host: CONFIG['url_for_emails']),
@ -38,7 +38,7 @@ class EmailSettings < ActiveRecord::Base
if !event.nil?
h['eventtitle'] = event.title
h['proposalslink'] = Rails.application.routes.url_helpers.conference_proposal_url(
h['proposalslink'] = Rails.application.routes.url_helpers.new_conference_proposal_url(
conference.short_title, event, host: CONFIG['url_for_emails'])
end
h