-
- Downloads
Fix bug with rendering changing images in commits
When viewing the diff for a changed image file, two bugs occur: - Both the 'before' and 'after' images link to the 'after' commit - Visiting the link for either image will cause a error The first is caused by both image links referencing '@commit.id' rather than '@commit.parent_id'. The second is caused by the use of 'project_tree_path' which is used for creating links to directories in the git file tree. 'project_blob_path' which links to files should be used instead.
parent
4204ce74
No related branches found
No related tags found
Showing
- app/views/projects/commits/_image.html.haml 2 additions, 2 deletionsapp/views/projects/commits/_image.html.haml
- features/project/commits/commits.feature 4 additions, 0 deletionsfeatures/project/commits/commits.feature
- features/steps/project/project_browse_commits.rb 10 additions, 0 deletionsfeatures/steps/project/project_browse_commits.rb
Please register or sign in to comment