|
57 | 57 | ), |
58 | 58 | # Package operations |
59 | 59 | path( |
60 | | - "by-id/<int:suggestion_id>/packages/<str:package_attr>/ignore/", |
| 60 | + "by-id/<int:suggestion_id>/package/ignore/<path:package_attr>/", |
61 | 61 | IgnorePackageView.as_view(), |
62 | 62 | name="ignore_package", |
63 | 63 | ), |
64 | 64 | path( |
65 | | - "by-id/<int:suggestion_id>/packages/<str:package_attr>/restore/", |
| 65 | + "by-id/<int:suggestion_id>/package/restore/<path:package_attr>/", |
66 | 66 | RestorePackageView.as_view(), |
67 | 67 | name="restore_package", |
68 | 68 | ), |
69 | 69 | # Maintainers operations |
70 | 70 | path( |
71 | | - "by-id/<int:suggestion_id>/maintainers/<int:github_id>/ignore/", |
| 71 | + "by-id/<int:suggestion_id>/maintainer/ignore/<int:github_id>/", |
72 | 72 | IgnoreMaintainerView.as_view(), |
73 | 73 | name="ignore_maintainer", |
74 | 74 | ), |
75 | 75 | path( |
76 | | - "by-id/<int:suggestion_id>/maintainers/<int:github_id>/delete/", |
| 76 | + "by-id/<int:suggestion_id>/maintainer/delete/<int:github_id>/", |
77 | 77 | DeleteMaintainerView.as_view(), |
78 | 78 | name="delete_maintainer", |
79 | 79 | ), |
80 | 80 | path( |
81 | | - "by-id/<int:suggestion_id>/maintainers/<int:github_id>/restore/", |
| 81 | + "by-id/<int:suggestion_id>/maintainer/restore/<int:github_id>/", |
82 | 82 | RestoreMaintainerView.as_view(), |
83 | 83 | name="restore_maintainer", |
84 | 84 | ), |
85 | 85 | path( |
86 | | - "by-id/<int:suggestion_id>/maintainers/add/", |
| 86 | + "by-id/<int:suggestion_id>/maintainer/add/", |
87 | 87 | AddMaintainerView.as_view(), |
88 | 88 | name="add_maintainer", |
89 | 89 | ), |
|
0 commit comments