mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-04 21:51:43 -04:00
Extract user profile route into its own file
This commit is contained in:
7
app/main/views/user_profile.py
Normal file
7
app/main/views/user_profile.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from flask import render_template
|
||||
from app.main import main
|
||||
|
||||
|
||||
@main.route("/user-profile")
|
||||
def userprofile():
|
||||
return render_template('views/user-profile.html')
|
||||
Reference in New Issue
Block a user