# frozen_string_literal: true

module SurveysUrlHelper
  def course_survey_url(notification)
    slug = notification.course.slug.gsub('&', '%26')
    "https://#{survey_url(notification.survey)}?course_slug=#{slug}"
  end
end

# frozen_string_literal: true

module SurveysUrlHelper
  def course_survey_url(notification)
    "#{survey_url(notification.survey)}?course_slug=#{notification.course.slug.gsub('&', '%26')}"
  end
end

Revert "Add https to survey link"
Revert "Add https to survey link"

This reverts commit 351d8d9478e50221c04d3a2a405cc2a893ab7de5.

This broke the specs. I should instead enable HTTPS redirection in production.
