Javi Martín
d18c627392
Add and apply Layout/EmptyLinesAfterModuleInclusion rule
...
This rule was added in rubocop 1.79. We were inconsistent about it, so
we're adding it to get more consistency.
2025-11-05 14:27:12 +01:00
Javi Martín
16315e14d2
Add and apply Style/SuperArguments rubocop rule
...
This rule was added in rubocop 1.64.0.
For clarity, in order to make it obvious that we're modifying the object
we received, we're excluding the Ahoy initializer, whose code was copied
from the Ahoy documentation.
We're also changing the `Types::BaseObject` class so we don't use a
variable with the same name as the parameter and we don't get a false
positive for this rule.
2024-07-09 11:23:02 +02:00
Javi Martín
a729967e8a
Make Devise::Mailer inherit from ApplicationMailer
...
This way we remove duplication in the `from:` proc, the helpers, and the
methods we're about to write.
2022-10-06 13:18:05 +02:00
decabeza
7f0f35a5c0
Add mailer helpers to simplify customization
2022-06-02 17:56:15 +02:00
Javi Martín
47b2c42a1d
Apply IndentationConsistency rubocop rule
2019-09-10 20:02:15 +02:00
Julian Herrero
9f21d9c64e
Use double quotes in app/mailers
2019-03-15 09:27:01 +01:00
Bertocq
d7b8777395
Fix all Layout/SpaceAroundEqualsInParameterDefault rubocop issues from rubocop_todo list
2017-06-26 18:03:40 +02:00
Juanjo Bazán
0325dd6199
refactors settings/flags helper to memoize values
2016-02-04 17:45:43 +01:00
Josep Jaume Rey Peroy
cf00f12ec7
Store locale in a user's field and switch locale on mailers
2016-01-22 18:10:28 +01:00