summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorSean McGivern <sean@mcgivern.me.uk>2016-11-08 10:22:55 +0000
committerSean McGivern <sean@mcgivern.me.uk>2016-11-08 10:22:55 +0000
commit034e8593374951d6711c9a941643b2da9f6744cf (patch)
treeb62304cf45cffcc0c65e6a8c5f9b769eef63a6c4 /app
parent67ca15bb671be304330dd17d15a02c8c3563ce97 (diff)
parent8357ae980a396cb0aa57ecd182a36c43821b548e (diff)
downloadgitlab-ce-034e8593374951d6711c9a941643b2da9f6744cf.tar.gz
Merge branch 'dz-fix-project-index' into 'master'
Fix project index page See merge request !7331
Diffstat (limited to 'app')
-rw-r--r--app/controllers/projects_controller.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb
index 6988527a3be..8cd50480ec1 100644
--- a/app/controllers/projects_controller.rb
+++ b/app/controllers/projects_controller.rb
@@ -2,9 +2,9 @@ class ProjectsController < Projects::ApplicationController
include IssuableCollections
include ExtractsPath
- before_action :authenticate_user!, except: [:show, :activity, :refs]
- before_action :project, except: [:new, :create]
- before_action :repository, except: [:new, :create]
+ before_action :authenticate_user!, except: [:index, :show, :activity, :refs]
+ before_action :project, except: [:index, :new, :create]
+ before_action :repository, except: [:index, :new, :create]
before_action :assign_ref_vars, only: [:show], if: :repo_exists?
before_action :tree, only: [:show], if: [:repo_exists?, :project_view_files?]