Change new package URL to /packages/new/

This commit is contained in:
rubenwardy 2018-05-14 15:05:10 +01:00
parent 46b7c38d59
commit 9d94744506
No known key found for this signature in database
GPG Key ID: A1E29D52FF81513C
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ class PackageForm(FlaskForm):
submit = SubmitField("Save")
@menu.register_menu(app, ".new", "Create", order=21, visible_when=lambda: current_user.is_authenticated)
@app.route("/new/", methods=["GET", "POST"])
@app.route("/packages/new/", methods=["GET", "POST"])
@app.route("/packages/<author>/<name>/edit/", methods=["GET", "POST"])
@login_required
def create_edit_package_page(author=None, name=None):