mirror of
https://github.com/mastodon/mastodon
synced 2025-04-12 00:56:38 +02:00

* Add instance-wide setting to disable profile directory Fixes #9496 When the profile directory is disabled: - The “discoverable” setting is hidden from users - The “profile directory” link is not shown on public pages - /explore returns 404 * Move Setting.profile_directory check to a before_action filter