about summary refs log tree commit diff
path: root/app/views
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2023-01-18 16:43:58 +0100
committerGitHub <noreply@github.com>2023-01-18 16:43:58 +0100
commit3970a6f433ad3cf79ef41d84baf6d788d25bd246 (patch)
tree84b8d840850043211dbbdf7b5b318d78027203c9 /app/views
parent343e1fe8e9ce94ea4f86d3a3df71f22f5fb2319d (diff)
Add option to make the landing page be /about even when trends are enabled (#20808)
* Add option to make the landing page be /about even when trends are enabled

* Restablish /explore as landing page by default
Diffstat (limited to 'app/views')
-rw-r--r--app/views/admin/settings/discovery/show.html.haml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/admin/settings/discovery/show.html.haml b/app/views/admin/settings/discovery/show.html.haml
index 59188833b..759bbdceb 100644
--- a/app/views/admin/settings/discovery/show.html.haml
+++ b/app/views/admin/settings/discovery/show.html.haml
@@ -19,6 +19,9 @@
     = f.input :trends, as: :boolean, wrapper: :with_label
 
   .fields-group
+    = f.input :trends_as_landing_page, as: :boolean, wrapper: :with_label
+
+  .fields-group
     = f.input :trendable_by_default, as: :boolean, wrapper: :with_label, recommended: :not_recommended
 
   %h4= t('admin.settings.discovery.public_timelines')