diff --git a/app/controllers/repositories_controller.rb b/app/controllers/repositories_controller.rb index de5cf4d8f..957856cdd 100644 --- a/app/controllers/repositories_controller.rb +++ b/app/controllers/repositories_controller.rb @@ -8,7 +8,7 @@ class RepositoriesController < ApplicationController before_action :find_repository_by_id, only: %i[commit sync_mirror tags] before_action :authorizate_user_can_edit_repo!, only: %i[sync_mirror] before_action :get_ref, only: %i[entries sub_entries top_counts] - before_action :get_latest_commit, %i[entries sub_entries top_counts] + before_action :get_latest_commit, only: %i[entries sub_entries top_counts] before_action :get_statistics, only: %i[top_counts] def show