You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 22, 2021. It is now read-only.
@@ -362,9 +366,9 @@ Consult the `html-to-text` [documentation](https://www.npmjs.com/package/html-to
362
366
363
367
It's also possible to *send* emails to yourself or others for review in a real mail client.
364
368
365
-
Noticed the `route` property on the template? It uses Iron Router's server side routes under the hood.
369
+
Noticed the `route` property on the template? It uses `meteorhacks:picker` server side routes under the hood.
366
370
367
-
The `route` property expects a `path` property (feel free to use any of Iron Router's fanciness in here) and an optional `data` function providing the data context (an object). The function has access to the same scope as Iron Router's `action` hook, which means you can get a hold of parameters and the whole shebang.
371
+
The `route` property expects a `path` property and an optional `data` function providing the data context (an object). The function has access to the parameters of the route.
368
372
369
373
**Three routes** will be added:
370
374
@@ -375,7 +379,7 @@ The `route` property expects a `path` property (feel free to use any of Iron Rou
375
379
```
376
380
The `/emails` root prefix is configurable in `config` in the `routePrefix` key.
377
381
378
-
The Iron Router *route names* will be on the format
382
+
The *route names* will be on the format
379
383
380
384
```
381
385
[preview|send]Name
@@ -464,6 +468,7 @@ Why not try [`meteor-logger`](https://github.com/lookback/meteor-logger)? :)
464
468
465
469
## Version history
466
470
471
+
-`0.7.0` - Replaced Iron Router dependency with `meteorhacks:picker`, which means you can now use this package with Flow Router as well.
467
472
-`0.6.2` - Support passing options to `html-to-text` module in `Mailer.config()`.
468
473
-`0.6.1`- Fix critical runtime crash when sending emails.
469
474
-`0.6.0` - Automatically create and include plain text email version from your HTML templates, using [`html-to-text`](http://npmjs.com/package/html-to-text).
0 commit comments