1
0
Fork 1
forked from fedi/mastodon
mastodon/app/views/layouts
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
..
admin.html.haml Set @body_classes to admin layout (#9081) 2018-10-25 00:10:01 +02:00
application.html.haml Add dns-prefetch if using different host for assets or uploads (#8942) 2018-10-10 01:31:10 +02:00
auth.html.haml Fix container regression (#6531) 2018-02-22 03:04:27 +01:00
embedded.html.haml Fix missing protocol in dns-prefetch, improve code style (#8963) 2018-10-12 02:19:10 +02:00
error.html.haml Fix dependency of error page generation on database (#5280) 2017-10-09 10:05:10 +02:00
mailer.html.haml Add direction tags to HTML e-mails for RTL languages (#6373) 2018-01-29 00:22:20 +01:00
mailer.text.erb Replace tutorial modal with welcome e-mail (#6273) 2018-01-18 19:17:25 +01:00
modal.html.haml Revert Font Awesome 5 upgrade (#8810) 2018-09-28 02:11:14 +02:00
plain_mailer.html.haml HTML e-mails for UserMailer (#6256) 2018-01-16 03:29:11 +01:00
public.html.haml Add instance-wide setting to disable profile directory (#9497) 2018-12-11 19:18:29 +01:00