diff options
Diffstat (limited to 'clover/controller/control/views/dashboard.py')
-rw-r--r-- | clover/controller/control/views/dashboard.py | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/clover/controller/control/views/dashboard.py b/clover/controller/control/views/dashboard.py deleted file mode 100644 index 8b6969c..0000000 --- a/clover/controller/control/views/dashboard.py +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright (c) Authors of Clover -# -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 - -from flask import Blueprint, render_template, abort -from jinja2 import TemplateNotFound - -simple_page = Blueprint('simple_page', __name__) - - -@simple_page.route('/dashboard', defaults={'page': 'index'}) -def show(page): - try: - return render_template('home.html') - except TemplateNotFound: - abort(404) |