# Can I override app/views/layouts/application.html.erb from a plugin?

**URL:** https://meta.discourse.org/t/can-i-override-app-views-layouts-application-html-erb-from-a-plugin/47267
**Category:** Development
**Created:** [July 14, 2016, 1:57am UTC](https://meta.discourse.org/t/can-i-override-app-views-layouts-application-html-erb-from-a-plugin/47267 "2016-07-14T01:57:38Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![neounix](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neounix/32/215617_2.png) [@neounix](https://meta.discourse.org/u/neounix)
#### Post date: [November 1, 2020, 1:26pm UTC](https://meta.discourse.org/t/can-i-override-app-views-layouts-application-html-erb-from-a-plugin/47267/6 "2020-11-01T13:26:46Z")

</div>

We can use embedded ruby code in a theme?

I must be confused… thinking theme work was not the place for embedded ruby.

Edit:

Just reviewed the following topic and as suspected there is no reference I can find to adding enbedded ruby in a thene 🙂

[Developing Discourse Themes & Theme Components](https://meta.discourse.org/t/developer-s-guide-to-discourse-themes/93648)

---

_[View the full topic](https://meta.discourse.org/t/can-i-override-app-views-layouts-application-html-erb-from-a-plugin/47267)._
