summaryrefslogtreecommitdiff
path: root/app/controllers/dashboard/projects_controller.rb
diff options
context:
space:
mode:
authorDavid Palubin <dpalubin@gmail.com>2019-07-04 09:29:06 +0000
committerLin Jen-Shin <godfat@godfat.org>2019-07-04 09:29:06 +0000
commit643100a9b25253e122dcd2531e5457707d52818d (patch)
tree1cc45653bca744bebc1a0095efe2ec0bd270b9b7 /app/controllers/dashboard/projects_controller.rb
parentc47eef94032ce1f08e05f7cb95bba9615cdc8a17 (diff)
downloadgitlab-ce-643100a9b25253e122dcd2531e5457707d52818d.tar.gz
Set default project sort method prior to initial sort on page loading
Diffstat (limited to 'app/controllers/dashboard/projects_controller.rb')
-rw-r--r--app/controllers/dashboard/projects_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/dashboard/projects_controller.rb b/app/controllers/dashboard/projects_controller.rb
index d43f5393ecc..daeb8fda417 100644
--- a/app/controllers/dashboard/projects_controller.rb
+++ b/app/controllers/dashboard/projects_controller.rb
@@ -7,8 +7,8 @@ class Dashboard::ProjectsController < Dashboard::ApplicationController
prepend_before_action(only: [:index]) { authenticate_sessionless_user!(:rss) }
before_action :set_non_archived_param
- before_action :projects, only: [:index]
before_action :default_sorting
+ before_action :projects, only: [:index]
skip_cross_project_access_check :index, :starred
def index