Cleanup: API v2
Most of the code for API v2 and the tests of it are a copy of API v1.
Can we make all API v2 Controllers
extend from API v1 controllers? -- that way we can reduce duplicated code?
The same applies to unit tests of v2 controllers.
Most of the code for API v2 and the tests of it are a copy of API v1.
Can we make all API v2 Controllers
extend from API v1 controllers? -- that way we can reduce duplicated code?
The same applies to unit tests of v2 controllers.