Skip to content

Commit

Permalink
Corrige testes quebrados e problemas de rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
anaresgalla committed Feb 15, 2024
1 parent c708278 commit 0649644
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/mailers/invitations_mailer.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
class InvitationsMailer < ApplicationMailer
def received_invitation
profile = Profile.friendly.find(params[:profile_id])
project_title = params[:project_title]
mail(subject: t('.subject'), to: profile.user.email)
@profile = Profile.friendly.find(params[:profile_id])
@project_title = params[:project_title]
mail(subject: t('.subject'), to: @profile.user.email)
end
end

0 comments on commit 0649644

Please sign in to comment.