Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Commit

Permalink
refactor(Commendations): 🚚 Rename award milestone page
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Gray <[email protected]>
  • Loading branch information
mmoomocow committed Oct 8, 2023
1 parent a5bb833 commit f7b2427
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion commendations/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

urlpatterns = [
path("award/", views.giveCommendation, name="giveCommendation"),
path("spirit/", views.viewMilestones, name="viewMilestones"),
path("spirit/", views.awardMilestones, name="viewMilestones"),
path("my/", views.myCommendations, name="myCommendations"),
path(
"detail/<int:commendation_id>/",
Expand Down
2 changes: 1 addition & 1 deletion commendations/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def giveCommendation(request):


@role_required(teacher=True, management=True)
def viewMilestones(request):
def awardMilestones(request):
"""The page where teachers can award milestones"""
if request.method == "POST":
# there will be a list of milestone IDs
Expand Down

0 comments on commit f7b2427

Please sign in to comment.