mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 00:07:02 -04:00
Renamed create to add for organisations
This commit is contained in:
@@ -56,10 +56,10 @@ def update_organisation(org_id):
|
||||
)
|
||||
|
||||
|
||||
@main.route("/organisations/create", methods=['GET', 'POST'])
|
||||
@main.route("/organisations/add", methods=['GET', 'POST'])
|
||||
@login_required
|
||||
@user_has_permissions(admin_override=True)
|
||||
def create_organisation():
|
||||
def add_organisation():
|
||||
form = CreateOrUpdateOrganisation()
|
||||
|
||||
if form.validate_on_submit():
|
||||
|
||||
Reference in New Issue
Block a user