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 <lbland@instructure.com>
QA-Review: Steven Burnett <sburnett@instructure.com>
Tested-by: Jenkins
Product-Review: James Williams  <jamesw@instructure.com>
This commit is contained in:
James Williams 2018-07-30 13:47:02 -06:00
parent 1966f31381
commit 7b99307efb
3 changed files with 3 additions and 3 deletions

View File

@ -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 %>

View File

@ -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 %>

View File

@ -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 %>