diff options
author | ThibG <thib@sitedethib.com> | 2018-12-11 19:18:29 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-12-11 19:18:29 +0100 |
commit | 720daa81435b4c632cdf7b64044cf1ee59af977a (patch) | |
tree | 17b3bb837d40d102b920120e7c185655cec67aa7 /app/policies/settings_policy.rb | |
parent | a48fe52375f207f538b3be675a943c3dd8603541 (diff) |
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
Diffstat (limited to 'app/policies/settings_policy.rb')
0 files changed, 0 insertions, 0 deletions