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
|
@ -9,7 +9,7 @@ from app import app, gitlab_trigger
|
|||
from auth.decorators import require_session_login
|
||||
from auth.permissions import AdministerRepositoryPermission
|
||||
from data import model
|
||||
from endpoints.common import route_show_if
|
||||
from endpoints.decorators import route_show_if
|
||||
from util.http import abort
|
||||
|
||||
|
||||
|
|
Reference in a new issue