Switch to unified view

a/Allura/allura/controllers/project.py b/Allura/allura/controllers/project.py
...
...
288
            return ProjectController(), remainder
288
            return ProjectController(), remainder
289
        app = c.project.app_instance(name)
289
        app = c.project.app_instance(name)
290
        if app is None:
290
        if app is None:
291
            raise exc.HTTPNotFound, name
291
            raise exc.HTTPNotFound, name
292
        c.app = app
292
        c.app = app
293
        if not app.root:
294
            raise exc.HTTPNotFound, name
293
        return app.root, remainder
295
        return app.root, remainder
294
296
295
    def _check_security(self):
297
    def _check_security(self):
296
        require_access(c.project, 'read')
298
        require_access(c.project, 'read')
297
299