-
- Downloads
Don't show references to Pages when not available
In this instance its subgroups, and given we can't deploy it, we shouldn't allow it to be shown. Fixes gitlab-org/gitlab-ce#34864
Showing
- app/controllers/projects/application_controller.rb 1 addition, 1 deletionapp/controllers/projects/application_controller.rb
- app/models/namespace.rb 4 additions, 0 deletionsapp/models/namespace.rb
- app/models/project.rb 4 additions, 0 deletionsapp/models/project.rb
- app/views/layouts/nav/_new_project_sidebar.html.haml 1 addition, 1 deletionapp/views/layouts/nav/_new_project_sidebar.html.haml
- app/views/projects/settings/_head.html.haml 1 addition, 1 deletionapp/views/projects/settings/_head.html.haml
- changelogs/unreleased/zj-disable-pages-in-subgroups.yml 5 additions, 0 deletionschangelogs/unreleased/zj-disable-pages-in-subgroups.yml
- spec/controllers/projects/pages_controller_spec.rb 12 additions, 1 deletionspec/controllers/projects/pages_controller_spec.rb
- spec/models/project_spec.rb 22 additions, 0 deletionsspec/models/project_spec.rb
Please register or sign in to comment