Drop support for ruby 3.0
Also add Ubuntu 24.04 and drop 20.04 as 24.04 is needed for ruby 3.1 without rvm so we should test it.
This commit is contained in:
parent
2fd2317bc6
commit
6789fc3081
15 changed files with 28 additions and 31 deletions
|
@ -247,8 +247,8 @@ class UserMailer < ApplicationMailer
|
|||
end
|
||||
end
|
||||
|
||||
def with_recipient_locale(recipient, &block)
|
||||
I18n.with_locale(Locale.available.preferred(recipient.preferred_languages), &block)
|
||||
def with_recipient_locale(recipient, &)
|
||||
I18n.with_locale(Locale.available.preferred(recipient.preferred_languages), &)
|
||||
end
|
||||
|
||||
def from_address(name, type, id, token, user_id = nil)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue