# ユーザーのインターフェース設定でデフォルトのホームページの選択を無効にできますか？

**URL:** <https://meta.discourse.org/t/can-i-disable-choosing-a-default-homepage-in-users-interface-settings/223120>\
**Category:** Support\
**Created:** [2022 年 4 月 4 日午前 10:41 UTC](https://meta.discourse.org/t/can-i-disable-choosing-a-default-homepage-in-users-interface-settings/223120 "2022-04-04T10:41:00Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![manuel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/manuel/32/468169_2.png) [@manuel](https://meta.discourse.org/u/manuel)\
**Post date:** [2022 年 4 月 4 日午後 7:26 UTC](https://meta.discourse.org/t/can-i-disable-choosing-a-default-homepage-in-users-interface-settings/223120/5 "2022-04-04T19:26:20Z")

</div>

ああ、ありがとうございます。正しい方向へ導いてくださって @pfaffman 🤗

レールコンソールで機能したコマンドは次のとおりです。

```plaintext
UserOption.update_all(homepage_id:2)

```

そして、CSSでオプションを非表示にしました。

```css
.user-preferences-page {
    .control-group.home {
        display: none;
    }
}

```

---

_[View the full topic](https://meta.discourse.org/t/can-i-disable-choosing-a-default-homepage-in-users-interface-settings/223120)._
