# How to change the style of the email template of the digest?

**URL:** <https://meta.discourse.org/t/how-to-change-the-style-of-the-email-template-of-the-digest/61653>\
**Category:** Development\
**Tags:** activity-summary\
**Created:** [4월 26, 2017, 4:35오후 UTC](https://meta.discourse.org/t/how-to-change-the-style-of-the-email-template-of-the-digest/61653 "2017-04-26T16:35:45Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![Mittals](https://avatars.discourse-cdn.com/v4/letter/m/4bbf92/32.png) [@Mittals](https://meta.discourse.org/u/Mittals)\
**Post date:** [1월 24, 2019, 8:43오후 UTC](https://meta.discourse.org/t/how-to-change-the-style-of-the-email-template-of-the-digest/61653/18 "2019-01-24T20:43:26Z")

</div>

I tried something similar for ActionViews but it did not work (need it to change the template for user notification emails)

::ActionView::Base.prepend\_view\_path File.expand\_path(“../custom\_views”, **FILE** )

Tried this as well ([from here](https://apidock.com/rails/ActionView/ViewPaths/prepend_view_path))  
::ActionViews::ViewPaths.prepend\_view\_path File.expand\_path(“../custom\_views”, **FILE** )

Any ideas? New to Ruby/Rails so pardon my mistakes.

Edit: Not working means discourse won’t start.

---

_[View the full topic](https://meta.discourse.org/t/how-to-change-the-style-of-the-email-template-of-the-digest/61653)._
