Add changelog item

This commit is contained in:
Douwe Maan 2015-10-19 11:40:13 +02:00
parent 8adeda37b5
commit 157d891615
2 changed files with 3 additions and 0 deletions

View file

@ -4,6 +4,7 @@ v 8.2.0 (unreleased)
- Show last project commit to default branch on project home page
- Highlight comment based on anchor in URL
- Adds ability to remove the forked relationship from project settings screen. (Han Loong Liauw)
- Allow users to select the Files view as default project view (Cristian Bica)
v 8.1.0 (unreleased)
- Fix bug preventing mentioned issued from being closed when MR is merged using fast-forward merge.

View file

@ -246,6 +246,8 @@ class ProjectsController < ApplicationController
project.repository_exists? && !project.empty_repo?
end
# Override get_id from ExtractsPath, which returns the branch and file path
# for the blob/tree, which in this case is just the root of the default branch.
def get_id
project.repository.root_ref
end