Move route_show_if into decorators
Also removes unused route_hide_if
This commit is contained in:
parent
ed3ba07830
commit
17f3de811e
9 changed files with 24 additions and 46 deletions
|
@ -27,10 +27,10 @@ from buildtrigger.triggerutil import TriggerProviderException
|
|||
from data import model
|
||||
from data.database import db
|
||||
from endpoints.api.discovery import swagger_route_data
|
||||
from endpoints.common import (common_login, render_page_template, route_show_if, param_required,
|
||||
from endpoints.common import (common_login, render_page_template, param_required,
|
||||
parse_repository_name)
|
||||
from endpoints.csrf import csrf_protect, generate_csrf_token, verify_csrf
|
||||
from endpoints.decorators import anon_protect, anon_allowed
|
||||
from endpoints.decorators import anon_protect, anon_allowed, route_show_if
|
||||
from health.healthcheck import get_healthchecker
|
||||
from util.cache import no_cache
|
||||
from util.headers import parse_basic_auth
|
||||
|
|
Reference in a new issue