Move GitHub build trigger behind a feature flag.

This commit is contained in:
Jake Moshenko 2014-05-30 18:28:18 -04:00
parent 2112333875
commit 0057ced98c
6 changed files with 12 additions and 4 deletions

View file

@ -119,6 +119,7 @@ def github_oauth_attach():
@callback.route('/github/callback/trigger/<path:repository>', methods=['GET'])
@route_show_if(features.GITHUB_BUILD)
@require_session_login
@parse_repository_name
def attach_github_build_trigger(namespace, repository):