Skip to content

Commit 2fe1570

Browse files
Fix misnamed endpoint in profile.html template
1 parent bf63caf commit 2fe1570

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/users/profile.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ <h1 class="mb-4">User Profile</h1>
3434
Edit Profile
3535
</div>
3636
<div class="card-body">
37-
<form action="{{ url_for('edit_profile') }}" method="post">
37+
<form action="{{ url_for('update_profile') }}" method="post">
3838
<div class="mb-3">
3939
<label for="name" class="form-label">Name</label>
4040
<input type="text" class="form-control" id="name" name="name" value="{{ user.name }}">

0 commit comments

Comments
 (0)