Skip to content

Commit

Permalink
[Bug] Fix typos on the show all exercises endpoint (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
wasswa-derick authored and lym committed Aug 13, 2018
1 parent 3fa9b09 commit c5ccc6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion wger/exercises/api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def perform_create(self, serializer):
obj.save()


class ExerciseAllInforViewSet(viewsets.ReadOnlyModelViewSet):
class ExerciseAllInformationViewSet(viewsets.ReadOnlyModelViewSet):
'''
API endpoint for all exercise objects information
'''
Expand Down
2 changes: 1 addition & 1 deletion wger/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
base_name='exercise')
router.register(
r'exercises',
exercises_api_views.ExerciseAllInforViewSet,
exercises_api_views.ExerciseAllInformationViewSet,
base_name='exercises')
router.register(
r'equipment',
Expand Down

0 comments on commit c5ccc6f

Please sign in to comment.