Commit 8f47bb07 authored by Nick Thomas's avatar Nick Thomas

Restore ProjectWiki#path_to_repo in EE for elasticsearch integration

parent 7c3ce757
......@@ -195,7 +195,13 @@ class ProjectWiki
@project.touch(:last_activity_at, :last_repository_updated_at)
end
# EE only
def update_elastic_index
index_blobs if current_application_settings.elasticsearch_indexing?
end
def path_to_repo
@path_to_repo ||= File.join(project.repository_storage_path, "#{disk_path}.git")
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment