README.md in ahoy_email-0.5.1 vs README.md in ahoy_email-0.5.2
- old
+ new
@@ -97,17 +97,17 @@
### Clicks
A redirect is added to links to track clicks in HTML emails.
```
-http://chartkick.com
+https://chartkick.com
```
becomes
```
-http://you.io/ahoy/messages/rAnDoMtOkEn/click?url=http%3A%2F%2Fchartkick.com&signature=...
+https://yoursite.com/ahoy/messages/rAnDoMtOkEn/click?url=https%3A%2F%2Fchartkick.com&signature=...
```
A signature is added to prevent [open redirects](https://www.owasp.org/index.php/Open_redirect).
Use `track click: false` to skip tracking, or skip specific links with:
@@ -249,10 +249,10 @@
```
Use a different model
```ruby
-AhoyEmail.message_model = UserMessage
+AhoyEmail.message_model = -> { UserMessage }
```
## Upgrading
### 0.2.3