diff --git a/rhodecode/apps/repository/__init__.py b/rhodecode/apps/repository/__init__.py --- a/rhodecode/apps/repository/__init__.py +++ b/rhodecode/apps/repository/__init__.py @@ -932,8 +932,8 @@ def includeme(config): name='edit_repo_perms_branch', pattern='/{repo_name:.*?[^/]}/settings/branch_permissions', repo_route=True) config.add_view( - RepoBranchesView, - attr='branches', + RepoSettingsBranchPermissionsView, + attr='branch_permissions', route_name='edit_repo_perms_branch', request_method='GET', renderer='rhodecode:templates/admin/repos/repo_edit.mako')