Renamed create to add for organisations

This commit is contained in:
Ken Tsang
2018-02-08 17:30:32 +00:00
parent a200f1a17e
commit 11a7fc49b7
3 changed files with 4 additions and 4 deletions

View File

@@ -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():