Switch to unified view

a/ForgeGit/forgegit/controllers.py b/ForgeGit/forgegit/controllers.py
...
...
4
4
5
from allura.controllers import repository
5
from allura.controllers import repository
6
6
7
class BranchBrowser(repository.BranchBrowser):
7
class BranchBrowser(repository.BranchBrowser):
8
8
9
    @expose('jinja:git/index.html')
9
    @expose('jinja:forgegit:templates/git/index.html')
10
    @with_trailing_slash
10
    @with_trailing_slash
11
    def index(self, limit=None, page=0, count=0, **kw):
11
    def index(self, limit=None, page=0, count=0, **kw):
12
        latest = c.app.repo.latest(branch=self._branch)
12
        latest = c.app.repo.latest(branch=self._branch)
13
        if not latest:
13
        if not latest:
14
            return dict(allow_fork=False, log=[])
14
            return dict(allow_fork=False, log=[])