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
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
modal.html.haml Revert Font Awesome 5 upgrade (#8810) 2018-09-28 02:11:14 +02:00
plain_mailer.html.haml
public.html.haml Add instance-wide setting to disable profile directory (#9497) 2018-12-11 19:18:29 +01:00