mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-02 17:48:50 -04:00
Moved the templates into the app directory.
Added Manager to the app.py
This commit is contained in:
@@ -1,6 +1,23 @@
|
||||
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')
|
||||
|
||||
Reference in New Issue
Block a user