Skip to content

Commit

Permalink
Rename view file to voucher_redemption_form
Browse files Browse the repository at this point in the history
  • Loading branch information
Splines committed Sep 23, 2024
1 parent 8ecb489 commit c372a2e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/vouchers/_redeem_speaker_voucher.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<% if voucher.lecture.talks_without_speaker(current_user).any? %>

<%= render partial: "vouchers/voucher_form", locals: { voucher: voucher } %>
<%= render partial: "vouchers/voucher_redemption_form", locals: { voucher: voucher } %>

<% elsif voucher.lecture.talks.any? %>

Expand Down
2 changes: 1 addition & 1 deletion app/views/vouchers/_redeem_tutor_voucher.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<% if voucher.lecture.tutorials_without_tutor(current_user).any? %>

<%= render partial: "vouchers/voucher_form", locals: { voucher: voucher } %>
<%= render partial: "vouchers/voucher_redemption_form", locals: { voucher: voucher } %>

<% elsif voucher.lecture.tutorials.any? %>

Expand Down
File renamed without changes.

0 comments on commit c372a2e

Please sign in to comment.