|
|
|
@@ -13,6 +13,7 @@ class RepositoriesController < ApplicationController |
|
|
|
before_action :get_ref, only: %i[entries sub_entries top_counts files archive]
|
|
|
|
before_action :get_latest_commit, only: %i[entries sub_entries top_counts]
|
|
|
|
before_action :get_statistics, only: %i[top_counts]
|
|
|
|
before_action :require_referer, only: [:raw]
|
|
|
|
|
|
|
|
def files
|
|
|
|
result = @project.educoder? ? nil : Gitea::Repository::Files::GetService.call(@owner, @project.identifier, @ref, params[:search], @owner.gitea_token)
|
|
|
|
|