diff options
| author | 2021-03-30 13:12:05 +0300 | |
|---|---|---|
| committer | 2021-03-30 13:12:05 +0300 | |
| commit | a95e03f56ce1e7627fdf2abb1c288b9aa0450682 (patch) | |
| tree | e214c3e0240ff1c2a1d2908e408aa771e0bc6d38 /pydis_site/apps/resources/views | |
| parent | Remove unused Bulma Tooltip extension (diff) | |
Rename resource type -> resource category in route
Diffstat (limited to 'pydis_site/apps/resources/views')
| -rw-r--r-- | pydis_site/apps/resources/views/resources_list.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/apps/resources/views/resources_list.py b/pydis_site/apps/resources/views/resources_list.py index b09793d7..55f22993 100644 --- a/pydis_site/apps/resources/views/resources_list.py +++ b/pydis_site/apps/resources/views/resources_list.py @@ -20,7 +20,7 @@ class ResourcesListView(TemplateView): """Add resources and subcategories data into context.""" context = super().get_context_data(**kwargs) - resource_path = RESOURCES_PATH / self.kwargs["type"] + resource_path = RESOURCES_PATH / self.kwargs["category"] if ( not resource_path.is_dir() or not resource_path.joinpath("_category_info.yaml").exists() |