Move route_show_if into decorators

Also removes unused route_hide_if
This commit is contained in:
Joseph Schorr 2017-07-20 11:07:31 -04:00
parent ed3ba07830
commit 17f3de811e
9 changed files with 24 additions and 46 deletions

View file

@ -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__)