unarist
bfa7f9ebf2
Fix WebPush (regression from #4524) (#4778)
* Fix NoMethodError in Web::PushSubscription
```
undefined method `site_contact_email' for #<Class:0x00005976d13c40>
/usr/local/bundle/gems/activerecord-5.1.3/lib/active_record/dynamic_matchers.rb:22:in `method_missing'
/usr/local/bundle/gems/attr_encrypted-3.0.3/lib/attr_encrypted.rb:295:in `method_missing'
/usr/local/bundle/gems/attr_encrypted-3.0.3/lib/attr_encrypted/adapters/active_record.rb:129:in `method_missing_with_attr_encrypted'
/mastodon/app/models/web/push_subscription.rb:53:in `push_payload'
```
* Specify serializer in Web::NotificationSerializer
2017-09-02 16:50:42 +02:00
..
2017-09-01 16:20:16 +02:00
2017-08-30 10:23:43 +02:00
2017-09-02 16:27:16 +02:00
2017-09-02 14:01:23 +02:00
2017-07-07 00:12:12 +02:00
2017-09-02 16:50:42 +02:00
2017-05-30 22:56:31 +02:00
2017-08-25 01:41:18 +02:00
2017-09-02 16:50:42 +02:00
2017-09-02 14:01:23 +02:00
2017-08-25 01:41:18 +02:00
2017-09-02 15:49:28 +02:00
2017-08-30 15:37:02 +02:00