Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin' into dcc/lh-decideix-202304
Browse files Browse the repository at this point in the history
  • Loading branch information
darccio committed Apr 22, 2023
2 parents 89178d2 + e5029c0 commit 9be8c42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/sessions_mailer/user_magic_link_email.text.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<%= t('application_mailer.greeting') %>,

<%= t('sessions_mailer.user_magic_link_email.body',
magic_link_url: magic_link_url(@token.to_hash)).strip %>
magic_link_url: magic_link_url(@voter_hash)).strip %>
<%= t('application_mailer.complimentary_close', recipient: Rails.configuration.x.asembleo.title).strip %>
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

class RemoveTokenAndQuestionIndexFromReceipts < ActiveRecord::Migration[7.0]
def change
remove_index :receipts, name: 'index_receipts_on_token_id_and_question_id'
remove_index :receipts, name: 'index_receipts_on_token_id_and_question_id' if index_exists?(:receipts, %i[token_id question_id], name: 'index_receipts_on_token_id_and_question_id')
end
end

0 comments on commit 9be8c42

Please sign in to comment.