diff options
author | Mark Fletcher <mark@gitlab.com> | 2017-04-07 13:27:35 +1000 |
---|---|---|
committer | Mark Fletcher <mark@gitlab.com> | 2017-05-04 14:11:40 +0800 |
commit | 3ce95e7c16712cbede82f70c3a67916088f42b7e (patch) | |
tree | 9cc6d32eff7b925506a682aa49dd7b3f80046031 /lib/api/projects.rb | |
parent | 03f13af588cf2b578a27717db492c216fcafbf9a (diff) | |
download | gitlab-ce-3ce95e7c16712cbede82f70c3a67916088f42b7e.tar.gz |
Disable navigation to Pages config if Pages is disabled
* Regards project-level pages config
- Nav link is now shown only if Pages is enabled for instance
- Navigation to following controllers denied if Pages disabled:
* projects/pages_controller
* projects/pages_domains_controller
- 'disabled' partial removed
+ Test for pages_controller introduced
Diffstat (limited to 'lib/api/projects.rb')
0 files changed, 0 insertions, 0 deletions