gitlabhq/gitlabhq — pull request #825 by demelziraptor (2012-05-16 14:06:11+00:00)
Title: View project pages without master branch

Project pages will not show up unless a master branch exists as find_or_first (without a commit id) will look for the first commit on the master branch by default - causing require_non_empty_project to do the redirection, even though the project is not empty. This changes find_or_first (without commit id) to look on the default branch instead.