Skip to content

Commit 3557f29

Browse files
committed
1 parent 2a0e00a commit 3557f29

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
* version history
2020
********************************************
2121
1.3.8
22+
* #309 Add `templatePath` method into `Mailer.Util`
2223
* #307 java.lang.IllegalStateException: parent context not found
2324
* #306 Allow user to set content through `Mailer.Util`
2425
* #305 Add `attach(...)` methods into `Mailer.Util`

src/main/java/act/util/ActContext.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,11 +405,11 @@ public static ActContext currentContext() {
405405
if (null != ctx) {
406406
return ctx;
407407
}
408-
ctx = MailerContext.current();
408+
ctx = CliContext.current();
409409
if (null != ctx) {
410410
return ctx;
411411
}
412-
ctx = CliContext.current();
412+
ctx = MailerContext.current();
413413
if (null != ctx) {
414414
return ctx;
415415
}

0 commit comments

Comments
 (0)