-
- Downloads
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
Showing
- app/controllers/admin/dashboard_controller.rb 1 addition, 0 deletionsapp/controllers/admin/dashboard_controller.rb
- app/controllers/admin/settings_controller.rb 2 additions, 0 deletionsapp/controllers/admin/settings_controller.rb
- app/controllers/directories_controller.rb 5 additions, 0 deletionsapp/controllers/directories_controller.rb
- app/models/form/admin_settings.rb 2 additions, 0 deletionsapp/models/form/admin_settings.rb
- app/views/admin/dashboard/index.html.haml 6 additions, 0 deletionsapp/views/admin/dashboard/index.html.haml
- app/views/admin/settings/edit.html.haml 3 additions, 0 deletionsapp/views/admin/settings/edit.html.haml
- app/views/layouts/public.html.haml 2 additions, 1 deletionapp/views/layouts/public.html.haml
- app/views/settings/profiles/show.html.haml 3 additions, 2 deletionsapp/views/settings/profiles/show.html.haml
- config/locales/en.yml 4 additions, 0 deletionsconfig/locales/en.yml
- config/settings.yml 1 addition, 0 deletionsconfig/settings.yml
Loading
Please register or sign in to comment