Self hosted FLOSS fitness/workout, nutrition and weight tracker
Fix active tab when browsing the api
Roland Geiderd34ed01bdb74
diff --git a/wger/utils/context_processor.py b/wger/utils/context_processor.pyindex c88cb81c1..969cbbdad 100644--- a/wger/utils/context_processor.py+++ b/wger/utils/context_processor.py@@ -59,7 +59,8 @@ def processor(request):# Pseudo-intelligent navigation hereif '/software/' in request.get_full_path() \- or '/contact' in request.get_full_path():+ or '/contact' in request.get_full_path() \+ or '/api/v2' in request.get_full_path():context['active_tab'] = constants.SOFTWARE_TABelif '/exercise/' in request.get_full_path():