Show More
@@ -4997,10 +4997,9 b' class Gist(Base, BaseModel):' | |||
|
4997 | 4997 | :param cls: |
|
4998 | 4998 | """ |
|
4999 | 4999 | from rhodecode.model.gist import GIST_STORE_LOC |
|
5000 | q = Session().query(RhodeCodeUi)\ | |
|
5001 | .filter(RhodeCodeUi.ui_key == URL_SEP) | |
|
5002 | q = q.options(FromCache("sql_cache_short", "repository_repo_path")) | |
|
5003 | return os.path.join(q.one().ui_value, GIST_STORE_LOC) | |
|
5000 | from rhodecode.lib.utils import get_rhodecode_repo_store_path | |
|
5001 | repo_store_path = get_rhodecode_repo_store_path() | |
|
5002 | return os.path.join(repo_store_path, GIST_STORE_LOC) | |
|
5004 | 5003 | |
|
5005 | 5004 | def get_api_data(self): |
|
5006 | 5005 | """ |
General Comments 0
You need to be logged in to leave comments.
Login now