diff options
author | Phil Hughes <me@iamphill.com> | 2017-10-20 10:47:45 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-10-23 10:47:22 +0100 |
commit | 4699cf77b6a0f5261ae382ac1a55882424efe4fb (patch) | |
tree | 90ed6e103fc273625744ae40bf5957fa459e8e02 /app/controllers/projects/tree_controller.rb | |
parent | 4c186f99f2ce72dfe3cd3e64b84b5ea5761f1657 (diff) | |
download | gitlab-ce-4699cf77b6a0f5261ae382ac1a55882424efe4fb.tar.gz |
added feature spec
Diffstat (limited to 'app/controllers/projects/tree_controller.rb')
-rw-r--r-- | app/controllers/projects/tree_controller.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/controllers/projects/tree_controller.rb b/app/controllers/projects/tree_controller.rb index 756f7e5df8c..f3719059f88 100644 --- a/app/controllers/projects/tree_controller.rb +++ b/app/controllers/projects/tree_controller.rb @@ -36,7 +36,6 @@ class Projects::TreeController < Projects::ApplicationController format.json do page_title @path.presence || _("Files"), @ref, @project.name_with_namespace - response.header['is-root'] = @path.empty? # n+1: https://gitlab.com/gitlab-org/gitlab-ce/issues/38261 Gitlab::GitalyClient.allow_n_plus_1_calls do |