#10 Added ability for users to be removed from the site.
This commit is contained in:
@@ -11,13 +11,13 @@ blueprint = Blueprint("admin", __name__, url_prefix="/admin")
|
||||
|
||||
|
||||
@blueprint.route('/')
|
||||
def main_admin():
|
||||
def main():
|
||||
""" Function responsible for delivering the admin page for the site """
|
||||
return "Hello, World"
|
||||
|
||||
|
||||
@blueprint.route('/users/')
|
||||
def admin_users():
|
||||
def users():
|
||||
""" Endpoint responsible for managing a users permissions """
|
||||
# Get all users to create admin table on frontend
|
||||
db = UserController()
|
||||
|
||||
Reference in New Issue
Block a user