Commit 79b44ab7 authored by Jiri Strojil's avatar Jiri Strojil
Browse files

Fixed link

parent 2d3b1af4
Pipeline #29336 passed with stage
in 61 minutes and 2 seconds
......@@ -79,7 +79,12 @@ class SemesterProcessMail < ApplicationRecord
end
def feedback_url(options = {})
review_semester_semester_process_volunteer_path(semester_process_volunteer)
action = :review_semester
path = semester_process_volunteer
Rails.application.routes.url_helpers.polymorphic_url(
path,
ActionMailer::Base.default_url_options.merge(action: action)
)
end
private
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment