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
|
@ -5,7 +5,7 @@ import features
|
|||
|
||||
from app import secscan_notification_queue
|
||||
from flask import request, make_response, Blueprint, abort
|
||||
from endpoints.common import route_show_if
|
||||
from endpoints.decorators import route_show_if
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
secscan = Blueprint('secscan', __name__)
|
||||
|
|
Reference in a new issue