Skip to content
Snippets Groups Projects
Verified Commit 314ef630 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fix project index

parent 76ff9fff
No related branches found
No related tags found
1 merge request!7331Fix project index page
Loading
@@ -2,9 +2,9 @@ class ProjectsController < Projects::ApplicationController
Loading
@@ -2,9 +2,9 @@ class ProjectsController < Projects::ApplicationController
include IssuableCollections include IssuableCollections
include ExtractsPath include ExtractsPath
   
before_action :authenticate_user!, except: [:show, :activity, :refs] before_action :authenticate_user!, except: [:index, :show, :activity, :refs]
before_action :project, except: [:new, :create] before_action :project, except: [:index, :new, :create]
before_action :repository, except: [:new, :create] before_action :repository, except: [:index, :new, :create]
before_action :assign_ref_vars, only: [:show], if: :repo_exists? before_action :assign_ref_vars, only: [:show], if: :repo_exists?
before_action :tree, only: [:show], if: [:repo_exists?, :project_view_files?] before_action :tree, only: [:show], if: [:repo_exists?, :project_view_files?]
   
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment