We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a5568a commit 17c8a30Copy full SHA for 17c8a30
ninja_extra/controllers/base.py
@@ -312,7 +312,7 @@ def __call__(self, cls: Type) -> Type["ControllerBase"]:
312
313
self._controller_class = cls
314
bases = inspect.getmro(cls)
315
- for base_cls in bases:
+ for base_cls in reversed(bases):
316
if base_cls not in [ControllerBase, ABC, object]:
317
compute_api_route_function(base_cls, self)
318
0 commit comments