diff --git a/luncho/blueprints/index.py b/luncho/blueprints/index.py index 1b28fb4..6a402eb 100644 --- a/luncho/blueprints/index.py +++ b/luncho/blueprints/index.py @@ -12,7 +12,8 @@ from flask import current_app index = Blueprint('index', __name__) -@index.route('') + +@index.route('', methods=['GET']) def show_routes(): """List the current API""" routes = [] @@ -24,7 +25,7 @@ def show_routes(): continue path = str(rule) - methods = rule.methods + # methods = rule.methods doc = current_app.view_functions[endpoint].__doc__ routes.append([