Files
notifications-admin/app/main/views/index.py
Rebecca Law 11d79951f3 Moved the templates into the app directory.
Added Manager to the app.py
2015-11-23 16:07:19 +00:00

24 lines
394 B
Python

from flask import render_template
from app.main import main
@main.route('/index')
def index():
return 'Hello from notifications-admin'
@main.route("/")
def idx():
return render_template('index.html')
@main.route("/govuk")
def govuk():
return render_template('govuk_template.html')
@main.route("/helloworld")
def helloworld():
return render_template('hello-world.html')