mastodon/app/controllers/admin
ThibG 720daa8143 Add instance-wide setting to disable profile directory (#9497)
* 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
2018-12-11 19:18:29 +01:00
..
account_moderation_notes_controller.rb
accounts_controller.rb Redesign admin accounts index (#9340) 2018-11-26 15:53:27 +01:00
action_logs_controller.rb
base_controller.rb Set @body_classes to admin layout (#9081) 2018-10-25 00:10:01 +02:00
change_emails_controller.rb
confirmations_controller.rb
custom_emojis_controller.rb
dashboard_controller.rb Add instance-wide setting to disable profile directory (#9497) 2018-12-11 19:18:29 +01:00
domain_blocks_controller.rb Add option to block reports from domain (#8830) 2018-10-20 08:02:44 +02:00
email_domain_blocks_controller.rb
instances_controller.rb Extract counters from accounts table to account_stats table (#9295) 2018-11-19 00:43:52 +01:00
invites_controller.rb
relays_controller.rb
report_notes_controller.rb
reported_statuses_controller.rb
reports_controller.rb Add "disable" button to report screen (#9024) 2018-10-20 02:39:39 +02:00
resets_controller.rb
roles_controller.rb
settings_controller.rb Add instance-wide setting to disable profile directory (#9497) 2018-12-11 19:18:29 +01:00
silences_controller.rb
statuses_controller.rb
subscriptions_controller.rb
suspensions_controller.rb
tags_controller.rb Fix Admin::TagsController#unhide (#9481) 2018-12-10 21:37:38 +01:00
two_factor_authentications_controller.rb