# Temas de usuário selecionados anteriormente podem substituir temas permitidos

**URL:** <https://meta.discourse.org/t/previously-selected-user-themes-can-override-allowed-themes/80053>\
**Category:** Support\
**Created:** [Fevereiro 7, 2018, 9:43pm UTC](https://meta.discourse.org/t/previously-selected-user-themes-can-override-allowed-themes/80053 "2018-02-07T21:43:17Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
**Post date:** [Maio 14, 2019, 10:05am UTC](https://meta.discourse.org/t/previously-selected-user-themes-can-override-allowed-themes/80053/16 "2019-05-14T10:05:07Z")

</div>

Theme\_key is no longer used. Instead, you would do

```plaintext
UserOption.update_all(theme_ids: [666])

```

Where 666 is the **id** of the theme (the number in the URL when you go to edit it in the admin panel)

---

_[View the full topic](https://meta.discourse.org/t/previously-selected-user-themes-can-override-allowed-themes/80053)._
