Skip to content

Commit

Permalink
fixing remove_rsvp to delete_rsvp
Browse files Browse the repository at this point in the history
  • Loading branch information
bri25yu committed Apr 16, 2020
1 parent f2ff6d2 commit 1c22d84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hknweb/events/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def rsvp(request, id):
messages.error(request, 'You have already RSVP\'d.')
return redirect('/events/' + str(id))

@login_and_permission('events.remove_rsvp')
@login_and_permission('events.delete_rsvp')
def unrsvp(request, id):
if request.method != 'POST':
raise Http404()
Expand Down

0 comments on commit 1c22d84

Please sign in to comment.