Show More
@@ -182,6 +182,9 class FilesController(BaseRepoController | |||||
182 |
|
182 | |||
183 | return render('files/files.html') |
|
183 | return render('files/files.html') | |
184 |
|
184 | |||
|
185 | @LoginRequired() | |||
|
186 | @HasRepoPermissionAnyDecorator('repository.read', 'repository.write', | |||
|
187 | 'repository.admin') | |||
185 | def history(self, repo_name, revision, f_path, annotate=False): |
|
188 | def history(self, repo_name, revision, f_path, annotate=False): | |
186 | if request.environ.get('HTTP_X_PARTIAL_XHR'): |
|
189 | if request.environ.get('HTTP_X_PARTIAL_XHR'): | |
187 | c.changeset = self.__get_cs_or_redirect(revision, repo_name) |
|
190 | c.changeset = self.__get_cs_or_redirect(revision, repo_name) |
General Comments 0
You need to be logged in to leave comments.
Login now