From 7b99307efb835951f81165e2b593219db8d27a63 Mon Sep 17 00:00:00 2001 From: James Williams Date: Mon, 30 Jul 2018 13:47:02 -0600 Subject: [PATCH] use url instead of path in offline export notifications closes #COMMS-1348 Change-Id: Id7b796a93a7d753faef510026e3364ff88e43e7a Reviewed-on: https://gerrit.instructure.com/159108 Reviewed-by: Landon Gilbert-Bland QA-Review: Steven Burnett Tested-by: Jenkins Product-Review: James Williams --- app/messages/content_export_failed.email.erb | 2 +- app/messages/content_export_failed.email.html.erb | 2 +- app/messages/content_export_finished.email.html.erb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/messages/content_export_failed.email.erb b/app/messages/content_export_failed.email.erb index ea67906fb9b..906b838942a 100644 --- a/app/messages/content_export_failed.email.erb +++ b/app/messages/content_export_failed.email.erb @@ -1,6 +1,6 @@ <% define_content :link do %> <% link = if asset.is_a? WebZipExport %> - <% course_offline_web_exports_path(asset.course) %> + <% course_offline_web_exports_url(asset.course) %> <% elsif asset.is_a? EpubExport %> <% epub_exports_url %> <% else %> diff --git a/app/messages/content_export_failed.email.html.erb b/app/messages/content_export_failed.email.html.erb index 8c46f7a107d..f472a541402 100644 --- a/app/messages/content_export_failed.email.html.erb +++ b/app/messages/content_export_failed.email.html.erb @@ -1,6 +1,6 @@ <% define_content :link do %> <% link = if asset.is_a? WebZipExport %> - <% course_offline_web_exports_path(asset.course) %> + <% course_offline_web_exports_url(asset.course) %> <% elsif asset.is_a? EpubExport %> <% epub_exports_url %> <% else %> diff --git a/app/messages/content_export_finished.email.html.erb b/app/messages/content_export_finished.email.html.erb index 7717667829d..61ba26251ee 100644 --- a/app/messages/content_export_finished.email.html.erb +++ b/app/messages/content_export_finished.email.html.erb @@ -1,6 +1,6 @@ <% define_content :link do %> <% link = if asset.is_a? WebZipExport %> - <% course_offline_web_exports_path(asset.course) %> + <% course_offline_web_exports_url(asset.course) %> <% elsif asset.is_a? EpubExport %> <% epub_exports_url %> <% else %>